This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/71717] New: A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.
- From: "toon at moene dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 30 Jun 2016 19:57:48 +0000
- Subject: [Bug fortran/71717] New: A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71717
Bug ID: 71717
Summary: A gfortran silent "wrong code" bug in the transition
from 4.9.0 -> 4.9.1, using OpenMP.
Product: gcc
Version: 4.9.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: toon at moene dot org
Target Milestone: ---
Created attachment 38805
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38805&action=edit
The (reduced) failing code.
The attached code shows that code that worked with gfortran -fopenmp in 4.9.0
doesn't work with 4.9.1 anymore.
As 4.9.1 introduced the OpenMP standard 4, it might be related to that update.
Compile the attached code with gfortran -fopenmp <source>.
The output of the executable should be four zeros.