This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2"
- From: "billingd at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2009 04:49:36 -0000
- Subject: [Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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