This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37523] New: data syncronisation error with openmp
- From: "j at jasper dot es" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Sep 2008 08:42:39 -0000
- Subject: [Bug fortran/37523] New: data syncronisation error with openmp
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When running the attached code (compiled with -fopenmp) I see intermittent
'WUH' in my output, which should not happen. Wasting some cycles between the
initialization of the array and the start of the DO loop (by printing some
data) works.
jbook:optidus-tng spaans$ LANG=C gfortran -v
Using built-in specs.
Target: i386-apple-darwin9.4.0
Configured with: ../gcc/configure --prefix=/usr/local/gfortran/
--with-gmp=/opt/local --with-mpfr=/opt/local --enable-languages=c,fortran
--no-create --no-recursion
Thread model: posix
gcc version 4.4.0 20080909 (experimental) (GCC)
jbook:optidus-tng spaans$ gfortran -fopenmp gfortranbug-testcase.f90 -o
gfortranbug-testcase
jbook:optidus-tng spaans$ for a in `gseq 1 1000`; do ./gfortranbug-testcase ;
done |grep WUH
STOP WUH!
...
--
Summary: data syncronisation error with openmp
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: j at jasper dot es
GCC build triplet: i386-apple-darwin9.4.0
GCC host triplet: i386-apple-darwin9.4.0
GCC target triplet: i386-apple-darwin9.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37523