c/7353: Compiler dies on known working code (as of gcc 3.0)
Reichelt
reichelt@igpm.rwth-aachen.de
Wed Aug 28 07:49:00 GMT 2002
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
More information about the Gcc-bugs
mailing list