[Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228

rguenth at tat dot physik dot uni-tuebingen dot de gcc-bugzilla@gcc.gnu.org
Thu Nov 6 18:14:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de  2003-11-06 18:14 -------
Subject: Re:  [3.4 regression] ICE in lookup_member, at
 cp/search.c:1228

On Thu, 6 Nov 2003, reichelt at gcc dot gnu dot org wrote:

> The new parser never got this right, before the ICE it issued an error
> message:
>
> bug.cc: In member function `void A::foo() [with T = int]':
> bug.cc:18:   instantiated from here
> bug.cc:11: error: invalid use of `A::foo()'

gcc-3.3 got this right as long as I can remember - so I didn't notice this
until early.

Richard.



More information about the Gcc-bugs mailing list