This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/9928: [3.3/3.4 regression] ICE on duplicate enum declaration
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, snyder at fnal dot gov
- Date: 3 Mar 2003 23:37:28 -0000
- Subject: Re: c/9928: [3.3/3.4 regression] ICE on duplicate enum declaration
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, snyder at fnal dot gov, gcc-gnats at gcc dot gnu dot org
Old Synopsis: ICE on duplicate enum declaration
New Synopsis: [3.3/3.4 regression] ICE on duplicate enum declaration
State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Mon Mar 3 23:37:28 2003
State-Changed-Why:
Confirmed. With 3.2, we just get an error:
g/x> /home/bangerth/bin/gcc-3.2.2-pre/bin/gcc -c x.c
x.c:2: conflicting types for `CODES'
x.c:1: previous declaration of `CODES'
3.3 bails out, which has of course the same source as 3.4
ICEing:
g/x> /home/bangerth/bin/gcc-3.3-pre/bin/gcc -c x.c
x.c:2: error: conflicting types for `CODES'
x.c:1: error: previous declaration of `CODES'
x.c:2: confused by earlier errors, bailing out
g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -c x.c
x.c:2: error: conflicting types for `CODES'
x.c:1: error: previous declaration of `CODES'
x.c:2: internal compiler error: Segmentation fault
Since 3.2 did not ICE, this is a regression.
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9928