[Bug fortran/71717] New: A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, using OpenMP.

toon at moene dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 30 19:58:00 GMT 2016


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.


More information about the Gcc-bugs mailing list