Commit 231d0665 by Jason Merrill Committed by Jason Merrill

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
parent a4510cfb
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 ();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment