[Bug c++/47211] ICE: in cp_build_addr_expr_1, at cp/typeck.c:4866 with -fms-extensions

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Wed Jan 19 22:00:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47211

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-19 21:30:38 UTC ---
Created attachment 23034
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23034
different crash

This crashes with different message:

$ gcc -fms-extensions pr47211-2.C 
pr47211-2.C: In function 'void foo(void (A::*)())':
pr47211-2.C:9:9: internal compiler error: in build_ptrmemfunc, at
cp/typeck.c:7047
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

When foo() is not a template, it ICEs in cp_build_addr_expr_1, at
cp/typeck.c:4866



More information about the Gcc-bugs mailing list