This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/42181] New: -fgraphite-identity miscompiles or ICEs on air.f90


The Polyhedron 2005 benchmark air.f90 is miscompiled at -O2 -fgraphite-identity
such that it produces incorrect results...

         AIRFLOW IN A BOX
            Version 2.0  
   (c) Hanley Innovations  1995 
  1.00000000000000002E-002  0.29999999999999999        10.000000000000000      
0.10000000000000001                0
   272.76999999999998        272.76999999999998        272.76999999999998      
 272.76999999999998        0.0000000000000000     
          11          12
  X-DATA
           1   0.0000000000000000       0.10000000000000001                4
           2  5.00000000000000028E-002  0.22000000000000000                4
           3  0.10000000000000001       0.29999999999999999                4
           4  0.20000000000000001       0.40000000000000002                4
           5  0.29999999999999999       0.50000000000000000                4
           6  0.40000000000000002       0.59999999999999998                4
           7  0.50000000000000000       0.69999999999999996                4
           8  0.59999999999999998       0.80000000000000004                4
           9  0.69999999999999996       0.90000000000000002                4
          10  0.80000000000000004       0.96999999999999997                4
          11  0.90000000000000002        1.0000000000000000                4
  Y-DATA
   0.0000000000000000       0.10000000000000001                4
  4.00000000000000008E-002  0.14999999999999999                4
  8.00000000000000017E-002  0.20000000000000001                4
  0.14999999999999999       0.29999999999999999                4
  0.20000000000000001       0.40000000000000002                4
  0.29999999999999999       0.50000000000000000                4
  0.40000000000000002       0.59999999999999998                4
  0.50000000000000000       0.69999999999999996                4
  0.59999999999999998       0.80000000000000004                4
  0.69999999999999996       0.89000000000000001                4
  0.80000000000000004       0.94999999999999996                4
  0.94999999999999996        1.0000000000000000                4
  ITERATION#  TIME             FINAL          MASS RESIDUAL
        3  100.000005723761   0.01000000         NaN
 deltat, final t, iterations
   100.00000000000000        100.00000572376112                3
           3                       NaN

When compiling air.f90  with -O1 -fgraphite-identity, the gfortran compiler
ICEs...

air.f90: In function ?state_?:
air.f90:1034:0: internal compiler error: in scan_tree_for_params, at
graphite-sese-to-poly.c:853

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


-- 
           Summary: -fgraphite-identity miscompiles or ICEs on air.f90
           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=42181


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]