When initializing an array with a nested incomplete type, instead of the usual "initialization of flexible array member in a nested context" output, gcc segfaults. struct incomplete_t { int x; int y[]; }; struct incomplete_t a[] = { {1, 2, {3, 4}} }; Release: gcc version 3.2 20020927 (prerelease) Cygwin Environment: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2/specs Configured with: /netrel/src/gcc-3.2-3/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexecdir=/usr/sbin Thread model: posix gcc version 3.2 20020927 (prerelease) How-To-Repeat: gcc test.i (see attachment)
*** This bug has been marked as a duplicate of 9799 ***