This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/7353: Compiler dies on known working code (as of gcc 3.0)
- From: Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: gcc-gnats at gcc dot gnu dot org, mike at velgarian dot sytes dot net, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Date: Wed, 28 Aug 2002 17:33:55 +0200
- Subject: Re: c/7353: Compiler dies on known working code (as of gcc 3.0)
Hi again,
sorry, I wasn't aware that "typedef A = 0;" is a valid gcc extension.
So, your code was in fact valid (although only for gcc) and the bug is an
ice-on-legal-code for 3.1.x, 3.2 and the main trunk (3.3 20020816).
Because it's a regression, it should be marked high priority.
BTW, for the code "typedef A = 0;" the error message is
bug.c:1: Internal compiler error in make_decl_rtl, at varasm.c:839
Please submit a full bug report, [etc.]
For "void foo () { typedef A = 0; }" I get
bug.c:1: Internal compiler error in gen_typedef_die, at dwarf2out.c:11035
Please submit a full bug report, [etc.]
instead (if I compile the code with "-g" enabled).
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7353