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

             Bug #: 54131
           Summary: ICE building 416.gamess, reload_cse_simplify_operands
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: pthau...@gcc.gnu.org


Created attachment 27900
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27900
Reduced testcase

Seeing the following ICE building gamess with trunk on PowerPC.

[pthaugen@igoo gamess]$ /home/pthaugen/install/gcc/trunk/bin/gfortran -c -m32
-O2 -funroll-loops efgrd2.f
efgrd2.f: In function ‘efpgrd’:
efgrd2.f:20:0: error: insn does not satisfy its constraints:
       END
 ^
(insn 474 161 163 7 (set (mem/c:DF (lo_sum:SI (reg/f:SI 5 5 [243])
                (const:SI (plus:SI (symbol_ref:SI ("fgrad_") [flags 0x80]
<var_decl 0xfffa5ee01e0 fgrad>)
                        (const_int 120000 [0x1d4c0])))) [4 MEM[base: D.982_96,
offset: 0B]+0 S8 A64])
        (reg:DF 23 23)) efgrd2.f:15 385 {*movdf_hardfloat32}
     (nil))
efgrd2.f:20:0: internal compiler error: in reload_cse_simplify_operands, at
postreload.c:402



Configured with: /home/pthaugen/src/gcc/trunk/gcc/configure
--prefix=/home/pthaugen/install/gcc/trunk --target=powerpc64-linux
--host=powerpc64-linux --build=powerpc64-linux --enable-secureplt
--enable-threads=posix --enable-shared --enable-__cxa_atexit
--with-long-double-128 --enable-decimal-float --disable-alsa --enable-checking
--with-lto --with-as=/home/pthaugen/install/binutils/binutils-2.21.1/bin/as
--with-ld=/home/pthaugen/install/binutils/binutils-2.21.1/bin/ld
--with-gmp=/home/pthaugen/install/gcc-host-libs
--with-mpfr=/home/pthaugen/install/gcc-host-libs
--with-mpc=/home/pthaugen/install/gcc-host-libs
--with-ppl=/home/pthaugen/install/gcc-host-libs
--with-cloog=/home/pthaugen/install/gcc-host-libs
--with-host-libstdcxx=-Wl,-Bstatic,-L/home/pthaugen/install/gcc-host-libs/lib,-lstdc++,-Bdynamic,-lm
--enable-languages=c,fortran,c++ --disable-bootstrap

Reply via email to