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.