This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25301] [3.4 regression] ICE for sizeof of incomplete type
- From: "reichelt at igpm dot rwth-aachen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Dec 2005 20:47:50 -0000
- Subject: [Bug c/25301] [3.4 regression] ICE for sizeof of incomplete type
- References: <bug-25301-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from reichelt at igpm dot rwth-aachen dot de 2005-12-07 20:47 -------
Subject: Re: [3.4 regression] ICE for sizofe of incomplete type
On 7 Dec, gdr at integrable-solutions dot net wrote:
> In general, there is a "type" problem in both C and C++ front ends.
> The documentation for TYPE_NAME says that it returns a TYPE_DECL -- as
> opposed to an IDENTIFIER_NODE. However, at various occasions I found
> that a TYPE_NAME would return an IDENTIFIER_NODE. That is a clear bug
> in both front ends ans should be hunt. Obviously, you have identified a
> place where instead of correcting the problem the pretty-printer had
> assumed that TYPE_NAME will always return an IDENTIFIER_NODE --
> despite the documentation. I believe a proper PR should be filled so
> that both front ends are cured from that confusion.
>
> -- Gaby
Would you mind filing this PR then?
Thanks,
Volker
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25301