public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2"
@ 2009-01-30 4:49 billingd at gcc dot gnu dot org
2009-01-30 9:56 ` [Bug target/39039] " ubizjak at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: billingd at gcc dot gnu dot org @ 2009-01-30 4:49 UTC (permalink / raw)
To: gcc-bugs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug target/39039] segfault with common block and "-O1 -ftree-vectorize -msse2"
2009-01-30 4:49 [Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2" billingd at gcc dot gnu dot org
@ 2009-01-30 9:56 ` ubizjak at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: ubizjak at gmail dot com @ 2009-01-30 9:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from ubizjak at gmail dot com 2009-01-30 09:56 -------
You can workaround this PE/COFF problem with -fno-common.
*** This bug has been marked as a duplicate of 37216 ***
--
ubizjak at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39039
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-30 9:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-30 4:49 [Bug fortran/39039] New: segfault with common block and "-O1 -ftree-vectorize -msse2" billingd at gcc dot gnu dot org
2009-01-30 9:56 ` [Bug target/39039] " ubizjak at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).