This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53055] ICE in cp_build_indirect_ref, at cp/typeck.c:2836
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 May 2012 23:33:16 +0000
- Subject: [Bug c++/53055] ICE in cp_build_indirect_ref, at cp/typeck.c:2836
- Auto-submitted: auto-generated
- References: <bug-53055-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53055
--- Comment #4 from Marc Glisse <glisse at gcc dot gnu.org> 2012-05-12 23:33:16 UTC ---
Created attachment 27390
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27390
patch 1
ice.cc:2:15: error: pointer to member must be on the right side of '->*'
int i = p ->* p ;
^
so the caret is on the wrong side of the operator.