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

             Bug #: 54428
           Summary: ICE in gimplify_expr, at gimplify.c:7591
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: kyle.nieme...@gmail.com


Created attachment 28108
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28108
preprocessed file

I get the compiler error "internal compiler error: in gimplify_expr, at
gimplify.c:7591" on the line:

rt[i] = f[i] - s_val * cpow(w[i], K) * b[i];

System information:
-gcc version: GNU C (GCC) version 4.7.1 (x86_64-apple-darwin12.0.0)
-system type: x86_64-apple-darwin12.0.0
-gcc build options: ../configure --enable-languages=c,c++,fortran
--prefix=/usr/local/Cellar/gcc/4.7.1/gcc
--datarootdir=/usr/local/Cellar/gcc/4.7.1/share
--bindir=/usr/local/Cellar/gcc/4.7.1/bin --program-suffix=-4.7
--with-gmp=/usr/local/Cellar/gmp/5.0.5 --with-mpfr=/usr/local/Cellar/mpfr/3.1.1
--with-mpc=/usr/local/Cellar/libmpc/1.0 --with-system-zlib
--enable-stage1-checking --enable-plugin --enable-lto --disable-multilib
--disable-nls

-command: gcc -c -o obj/cf.o cf.c -O0 -g3 -fbounds-check -Wunused-variable
-Wunused-parameter -Wall -pedantic -ftree-vrp -std=c99 -Wextra
-fno-strict-aliasing -fwrapv -v -save-temps -I.

-compiler output: cf.c: In function 'cf':
cf.c:290:30: internal compiler error: in gimplify_expr, at gimplify.c:7591

I've attached the preprocessed file cf.i.

Strangely, when compiled with "gcc -c -o obj/cf.o cf.c -O3 -ffast-math -std=c99
-I.", there is no error (and the results are correct).

Reply via email to