This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47211] ICE: in cp_build_addr_expr_1, at cp/typeck.c:4866 with -fms-extensions
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 19 Jan 2011 21:30:41 +0000
- Subject: [Bug c++/47211] ICE: in cp_build_addr_expr_1, at cp/typeck.c:4866 with -fms-extensions
- Auto-submitted: auto-generated
- References: <bug-47211-4@http.gcc.gnu.org/bugzilla/>
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