[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-bugs
Subject:    [Bug fortran/71717] New: A gfortran silent "wrong code" bug in the transition from 4.9.0 -> 4.9.1, u
From:       "toon at moene dot org" <gcc-bugzilla () gcc ! gnu ! org>
Date:       2016-06-30 19:57:48
Message-ID: bug-71717-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]

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.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic