This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Nov 2003 13:58:36 -0000
- Subject: [Bug c++/12924] [3.4 regression] ICE in lookup_member, at cp/search.c:1228
- References: <20031106092747.12924.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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