This is the mail archive of the
gcc-prs@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: nobody at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 28 Aug 2002 14:56:05 -0000
- Subject: Re: c/7353: Compiler dies on known working code (as of gcc 3.0)
- Reply-to: Reichelt <reichelt at igpm dot rwth-aachen dot de>
The following reply was made to PR c/7353; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, mike@velgarian.sytes.net, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Cc:
Subject: Re: c/7353: Compiler dies on known working code (as of gcc 3.0)
Date: Wed, 28 Aug 2002 17:33:55 +0200
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