gfortran / gcc version 4.5.0 20100107 on OSX 10.6.2

This works if -fopenmp is _not_ used:
  INTEGER*4 LISTEL(6,6,2000,200) ! 57600000 bytes
  COMMON/LKCELL/ LISTEL

It gives a runtime segmentation fault if -fopenmp is selected, even when there
are _no_ OMP directives in the code. 

It works if the array is smaller, for example:
INTEGER*4 LISTEL(6,6,2000,20) 

Does the -fopenmp gfortran option induce erroneous addressing of large common
arrays?


-- 
           Summary: -fopenmp causes segementation fault with large arrays
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rknochenmuss at gmx dot net
 GCC build triplet: x86_64-apple-darwin10
  GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43050

Reply via email to