The following program segfaults when compiled with "-O1 -ftree-vectorize -msse2". Compiler is gfortran trunk revision 143693 (4.4.0 20090127).
Also fails with higher levels of optimization but requires both -ftree-vectorize and -msse2. program common real (kind=8) b(5) common /com1/b b = 100 end The case is reduced from gfortran.fortran-torture/execute/common.f90 -- Summary: segfault with common block and "-O1 -ftree-vectorize - msse2" Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: billingd at gcc dot gnu dot org GCC build triplet: i686-pc-cygwin GCC host triplet: i686-pc-cygwin GCC target triplet: i686-pc-cygwin http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39039