c/9262: gcc-3.4 segfaults on false case label

Volker Reichelt reichelt@igpm.rwth-aachen.de
Mon Jan 13 20:11:00 GMT 2003


The compiler crashes since gcc 3.0. (The ICE is only hidden behind a
"confused by earlier errors, bailing out" message).

gcc 2.95.x did better (i.e. without ICE - hidden or not):
bug.c: In function `main':
bug.c:5: parse error before `case'

So this is a regression from gcc 2.95.x.

Regards,
Volker

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9262




More information about the Gcc-bugs mailing list