This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/18042] New: [4.0 regression] does not handle struct initializer
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2004 21:50:48 -0000
- Subject: [Bug c/18042] New: [4.0 regression] does not handle struct initializer
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The testcase is rejected with
> gcc -c const.c
const.c:25: error: initializer element is not constant
the testcase is fine with any previous version of gcc.
This is mainline from 20041017, a version from about two month ago was ok.
--
Summary: [4.0 regression] does not handle struct initializer
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rguenth at tat dot physik dot uni-tuebingen dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18042