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