http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58346
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |accepts-invalid, | |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2013-09-09 CC| |jsm28 at gcc dot gnu.org Component|ipa |c Ever confirmed|0 |1 --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I believe the following should be invalid C struct U {}; static struct U b[1] = { }; U is a zero-sized struct and b is an array built from it. This array cannot fulfil the basic array index operation requirements unless the element size is bumped to one.