public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/54428] New: ICE in gimplify_expr, at gimplify.c:7591
@ 2012-08-30 20:28 kyle.niemeyer at gmail dot com
  2012-08-31  5:16 ` [Bug c/54428] " polacek at redhat dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: kyle.niemeyer at gmail dot com @ 2012-08-30 20:28 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: kyle.niemeyer@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).


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-03 16:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-30 20:28 [Bug c/54428] New: ICE in gimplify_expr, at gimplify.c:7591 kyle.niemeyer at gmail dot com
2012-08-31  5:16 ` [Bug c/54428] " polacek at redhat dot com
2012-08-31  5:46 ` polacek at redhat dot com
2012-08-31  6:57 ` [Bug c/54428] [4.7/4.8 Regression] " jakub at gcc dot gnu.org
2012-08-31  7:29 ` jakub at gcc dot gnu.org
2012-08-31  8:37 ` jakub at gcc dot gnu.org
2012-08-31 19:01 ` jakub at gcc dot gnu.org
2012-09-03 16:04 ` jakub at gcc dot gnu.org
2012-09-03 16:07 ` jakub at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).