* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-11-06 9:29 ` rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-06 13:57 ` lerdsuwa at gcc dot gnu dot org
` (15 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2003-11-06 9:29 UTC (permalink / raw)
To: gcc-bugs
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
rguenth at tat dot physik dot uni-tuebingen dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-06 9:29 ` [Bug c++/12924] " rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-11-06 13:57 ` lerdsuwa at gcc dot gnu dot org
2003-11-06 16:41 ` pinskia at gcc dot gnu dot org
` (14 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-06 13:57 UTC (permalink / raw)
To: gcc-bugs
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
lerdsuwa at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-11-06 13:56:58
date| |
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-06 13:56 -------
Confirmed.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-06 9:29 ` [Bug c++/12924] " rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-06 13:57 ` lerdsuwa at gcc dot gnu dot org
@ 2003-11-06 16:41 ` pinskia at gcc dot gnu dot org
2003-11-06 17:28 ` reichelt at gcc dot gnu dot org
` (13 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-06 16:41 UTC (permalink / raw)
To: gcc-bugs
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 pinskia at gcc dot gnu dot org 2003-11-06 16:41 -------
Likely related to bug 10200.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (2 preceding siblings ...)
2003-11-06 16:41 ` pinskia at gcc dot gnu dot org
@ 2003-11-06 17:28 ` reichelt at gcc dot gnu dot org
2003-11-06 17:31 ` rguenth at tat dot physik dot uni-tuebingen dot de
` (12 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-06 17:28 UTC (permalink / raw)
To: gcc-bugs
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
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Priority|P1 |P2
Target Milestone|--- |3.4
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-11-06 17:28 -------
Here's a short testcase that triggers the bug:
=============================================
template<typename> struct A {};
template<> struct A<void>
{
template<typename T> void foo()
{
A<T> a;
a.template foo<int>();
}
};
void bar()
{
A<void> a;
a.foo<int>();
}
=============================================
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.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (3 preceding siblings ...)
2003-11-06 17:28 ` reichelt at gcc dot gnu dot org
@ 2003-11-06 17:31 ` rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-06 17:35 ` reichelt at gcc dot gnu dot org
` (11 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2003-11-06 17:31 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (4 preceding siblings ...)
2003-11-06 17:31 ` rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-11-06 17:35 ` reichelt at gcc dot gnu dot org
2003-11-06 17:43 ` reichelt at gcc dot gnu dot org
` (10 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-06 17:35 UTC (permalink / raw)
To: gcc-bugs
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 reichelt at gcc dot gnu dot org 2003-11-06 17:35 -------
Ok. Here's a version with valid code:
=============================================
template<typename> struct A
{
template<typename> void foo() {}
};
template<> struct A<void>
{
template<typename T> void foo()
{
A<T> a;
a.template foo<int>();
}
};
void bar()
{
A<void> a;
a.foo<int>();
}
=============================================
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (5 preceding siblings ...)
2003-11-06 17:35 ` reichelt at gcc dot gnu dot org
@ 2003-11-06 17:43 ` reichelt at gcc dot gnu dot org
2003-11-06 18:14 ` rguenth at tat dot physik dot uni-tuebingen dot de
` (9 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-06 17:43 UTC (permalink / raw)
To: gcc-bugs
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 reichelt at gcc dot gnu dot org 2003-11-06 17:43 -------
Just one remark:
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()'
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (6 preceding siblings ...)
2003-11-06 17:43 ` reichelt at gcc dot gnu dot org
@ 2003-11-06 18:14 ` rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
` (8 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2003-11-06 18:14 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (7 preceding siblings ...)
2003-11-06 18:14 ` rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
2003-11-17 14:31 ` lerdsuwa at gcc dot gnu dot org
` (7 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-11-07 16:34 UTC (permalink / raw)
To: gcc-bugs
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
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |12944
nThis| |
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (8 preceding siblings ...)
2003-11-07 16:34 ` reichelt at gcc dot gnu dot org
@ 2003-11-17 14:31 ` lerdsuwa at gcc dot gnu dot org
2003-11-21 12:48 ` rguenth at tat dot physik dot uni-tuebingen dot de
` (6 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-17 14:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-17 14:31 -------
Will look at it.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lerdsuwa at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (9 preceding siblings ...)
2003-11-17 14:31 ` lerdsuwa at gcc dot gnu dot org
@ 2003-11-21 12:48 ` rguenth at tat dot physik dot uni-tuebingen dot de
2003-11-21 16:55 ` lerdsuwa at users dot sourceforge dot net
` (5 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: rguenth at tat dot physik dot uni-tuebingen dot de @ 2003-11-21 12:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2003-11-21 12:48 -------
Subject: Re: [3.4 regression] ICE in lookup_member, at
cp/search.c:1228
On Mon, 17 Nov 2003, lerdsuwa at gcc dot gnu dot org wrote:
> ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-17 14:31 -------
> Will look at it.
Any progress? Its quite annoying...
Thanks,
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (10 preceding siblings ...)
2003-11-21 12:48 ` rguenth at tat dot physik dot uni-tuebingen dot de
@ 2003-11-21 16:55 ` lerdsuwa at users dot sourceforge dot net
2003-11-23 11:32 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: lerdsuwa at users dot sourceforge dot net @ 2003-11-21 16:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at users dot sourceforge dot net 2003-11-21 16:55 -------
Subject: Re: [3.4 regression] ICE in lookup_member, at cp/search.c:1228
rguenth at tat dot physik dot uni-tuebingen dot de wrote:
>Any progress? Its quite annoying...
>
>
A rewrite of some function to go with the new parser in 3.4
broke it. That part is tricky dealing with many many cases
and misses one. I haven't spent time to figure out the
right solution yet.
--Kriang
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (11 preceding siblings ...)
2003-11-21 16:55 ` lerdsuwa at users dot sourceforge dot net
@ 2003-11-23 11:32 ` cvs-commit at gcc dot gnu dot org
2003-11-23 11:32 ` lerdsuwa at gcc dot gnu dot org
` (3 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-11-23 11:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-23 11:32 -------
Subject: Bug 12924
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: lerdsuwa@gcc.gnu.org 2003-11-23 11:32:14
Modified files:
gcc/cp : ChangeLog typeck.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/template: template-id-2.C
Log message:
PR c++/12924
* typeck.c (finish_class_member_access_expr): Handle TEMPLATE_ID_EXPR
with OVERLOAD and DECL nodes as the first operand.
* g++.dg/template/template-id-2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3772&r2=1.3773
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/typeck.c.diff?cvsroot=gcc&r1=1.511&r2=1.512
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3203&r2=1.3204
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/template/template-id-2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (12 preceding siblings ...)
2003-11-23 11:32 ` cvs-commit at gcc dot gnu dot org
@ 2003-11-23 11:32 ` lerdsuwa at gcc dot gnu dot org
2003-11-23 13:51 ` giovannibajo at libero dot it
` (2 subsequent siblings)
16 siblings, 0 replies; 18+ messages in thread
From: lerdsuwa at gcc dot gnu dot org @ 2003-11-23 11:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2003-11-23 11:32 -------
Fixed in the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (13 preceding siblings ...)
2003-11-23 11:32 ` lerdsuwa at gcc dot gnu dot org
@ 2003-11-23 13:51 ` giovannibajo at libero dot it
2003-11-23 13:54 ` giovannibajo at libero dot it
2003-11-23 13:58 ` gdr at integrable-solutions dot net
16 siblings, 0 replies; 18+ messages in thread
From: giovannibajo at libero dot it @ 2003-11-23 13:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2003-11-23 13:51 -------
Kriang, what about adding my_friendly_assert (TREE_CODE (name) ==
IDENTIFIER_NODE)? It would help catching similar problems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (14 preceding siblings ...)
2003-11-23 13:51 ` giovannibajo at libero dot it
@ 2003-11-23 13:54 ` giovannibajo at libero dot it
2003-11-23 13:58 ` gdr at integrable-solutions dot net
16 siblings, 0 replies; 18+ messages in thread
From: giovannibajo at libero dot it @ 2003-11-23 13:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From giovannibajo at libero dot it 2003-11-23 13:54 -------
ok, forget it, it's already done in lookup_member :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread
* [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
2003-11-06 9:28 [Bug c++/12924] New: [3.4 regression] ICE in lookup_member, at cp/search.c:1228 rguenth at tat dot physik dot uni-tuebingen dot de
` (15 preceding siblings ...)
2003-11-23 13:54 ` giovannibajo at libero dot it
@ 2003-11-23 13:58 ` gdr at integrable-solutions dot net
16 siblings, 0 replies; 18+ messages in thread
From: gdr at integrable-solutions dot net @ 2003-11-23 13:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From gdr at integrable-solutions dot net 2003-11-23 13:58 -------
Subject: Re: [3.4 regression] ICE in lookup_member, at cp/search.c:1228
"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:
| Kriang, what about adding my_friendly_assert (TREE_CODE (name) ==
| IDENTIFIER_NODE)? It would help catching similar problems.
I completely agree. It is a bit sad Kriang committed the patch so
fast without letting us a chance to see whether that is what we think
we want. I think, the documentation says somethere that the first
operand is an IDENTIFIER_NODE. I think the patch and the
oducmentation needs to be coherent. And I believe that Giovanni's
suggestion should be realized in the patch.
-- Gaby
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12924
^ permalink raw reply [flat|nested] 18+ messages in thread