[Bug fortran/62010] New: OpenMP simd produces wrong results
alexander.grund at mailbox dot tu-dresden.de
gcc-bugzilla@gcc.gnu.org
Mon Aug 4 13:29:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62010
Bug ID: 62010
Summary: OpenMP simd produces wrong results
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: alexander.grund at mailbox dot tu-dresden.de
Created attachment 33238
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33238&action=edit
Testcase 1
Using the OpenMP 4.0 SIMD construct results in wrong calculation results in
some cases. (See testcase 1)
To reproduce: simply run:
gfortran-4.9 gfortranBug.f && ./a.out && gfortran-4.9 gfortranBug.f -fopenmp &&
./a.out
Output:
size 12
36.016765295885790
size 12
35.454228116260587
Expected: Same for both cases.
More information about the Gcc-bugs
mailing list