This test case fails at -O3 with Cygwin. Works fine with -O, and -O2 $ gfc -v Using built-in specs. Target: i686-pc-cygwin Configured with: ../gcc44/configure --prefix=/usr/local/gfortran --enable-languages=c,fortran --disable-bootstrap --enable-threads=posix --enable-sjlj-exceptions --enable-version-specific-runtime-libs --enable-nls --disable-libmudflap --disable-shared --disable-win32-registry --with-system-zlib --enable-checking=release --enable-werror --without-included-gettext --without-x --enable-libgomp Thread model: posix gcc version 4.4.0 20080510 (experimental) [trunk revision 135164] (GCC)
$ gfc -O3 array_constructor_24.f $ ./a.exe Hangup $ -- Summary: Hangup with array_constructor_24.f90 at -O3 Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jvdelisle at gcc dot gnu dot org GCC host triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36205