This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53055] ICE in cp_build_indirect_ref, at cp/typeck.c:2836


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]