This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8032: [3.2/3.3 regression] GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays
- From: reichelt at igpm dot rwth-aachen dot de
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wolfgang dot thaller at gmx dot net
- Date: 24 Nov 2002 23:37:37 -0000
- Subject: Re: c/8032: [3.2/3.3 regression] GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays
- Reply-to: reichelt at igpm dot rwth-aachen dot de, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, wolfgang dot thaller at gmx dot net, gcc-gnats at gcc dot gnu dot org
Old Synopsis: GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays
New Synopsis: [3.2/3.3 regression] GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays
State-Changed-From-To: open->analyzed
State-Changed-By: reichelt
State-Changed-When: Sun Nov 24 15:37:36 2002
State-Changed-Why:
Confirmed.
This also affects 3.0.x, 3.2-branch and mainlineon
i686-pc-linux-gnu. With gcc 2.95.3 the code compiles fine.
I added an updated testcase as attachment.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8032