re PR c++/11756 (ICE's when using typeof in template function parameter type declarations)
PR c++/11756 * mangle.c (write_type) [TYPEOF_TYPE]: Just sorry. From-SVN: r128999
This commit is contained in:
parent
a4510cfbba
commit
231d066518
|
@ -1,3 +1,8 @@
|
|||
2007-10-03 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/11756
|
||||
* mangle.c (write_type) [TYPEOF_TYPE]: Just sorry.
|
||||
|
||||
2007-10-03 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* decl.c (duplicate_decls): Preserve linkage flags for mere
|
||||
|
|
|
@ -1687,6 +1687,10 @@ write_type (tree type)
|
|||
write_char ('E');
|
||||
break;
|
||||
|
||||
case TYPEOF_TYPE:
|
||||
sorry ("mangling typeof, use decltype instead");
|
||||
break;
|
||||
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue