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++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228


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 17:31 -------
Subject: Re:  [3.4 regression] ICE in lookup_member, at
 cp/search.c:1228

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

> With mainline I get:
>
> bug.ii: In member function `void A<void>::foo() [with T = int]':
> bug.ii:15:   instantiated from here
> bug.ii:8: internal compiler error: in lookup_member, at cp/search.c:1228
>
> With previous versions of gcc I get a decent error message.
>
> According to Phil's regression checker, the regression was introduced
> between 2003-07-08-trunk (#337) and 2003-07-09-trunk (#338).
>
> (Since PR 10200 appeared before that date, I doubt that these two are related.)
>
> Because this is invalid code I'm changing the keyword to ice-on-invalid-code.
> But the original example should be revisited when the small testcase is fixed.

I believe the original testcase is valid code (intel icpc -ansi doesnt
complain). But I'll recheck.

Richard.


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