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


------- 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


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