The Polyhedron 2005 benchmark aermod.f90 ICEs the gfortran compiler when
compiled with...

gfortran -O2 -fgraphite-identity -floop-strip-mine aermod.f90 -o aermod

producing the error...

aermod.f90: In function ‘chk_endyr’:
aermod.f90:5620:0: internal compiler error: Floating point exception

This error doesn't occur with...

gfortran -O2 -fgraphite-identity aermod.f90 -o aermod

..or...

gfortran -O2 -fgraphite-identity -floop-interchange aermod.f90 -o aermod

Using built-in specs.
Target: x86_64-apple-darwin10
Configured with: ../gcc-4.5-20090805/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib --build=x86_64-apple-darwin10
--host=x86_64-apple-darwin10 --target=x86_64-apple-darwin10
Thread model: posix
gcc version 4.5.0 20090805 (experimental) (GCC)


-- 
           Summary: aermod.f90 ICEs on -O2 -fgraphite-identity -floop-strip-
                    mine
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 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=40981

Reply via email to