http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48975
Summary: ICE in execute_cse_reciprocals() with -fno-tree-slp-vectorize Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: arthur.j.odw...@gmail.com Created attachment 24232 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24232 Output of "ajo-gcc -w -O1 -finline-functions -ftree-vectorize -ffast-math -fno-tree-slp-vectorize -c test1281247203.c" This reproduces for me with svn revision 173589 (2011-05-09). It doesn't reproduce with gcc 4.5.1. I'm on Ubuntu 10.10, x86-64. cat >test1281247203.c <<EOF static int ADD(int x) { return (x > 0) ? 0 : x+1; } void func_65(unsigned int x) { int l_376 = -1; lbl_469: while (x) { x = ADD(x); } } EOF gcc -w -O1 -finline-functions -ftree-vectorize -ffast-math -fno-tree-slp-vectorize -c test1281247203.c test1281247203.c: In function ‘func_65’: test1281247203.c:5:6: internal compiler error: in execute_cse_reciprocals, at tree-ssa-math-opts.c:512 This test case is reduced from the output of Csmith 2.1.0 (git hash 541a6480, https://github.com/csmith-project/csmith/), using the following command line: csmith --no-paranoid --longlong --no-pointers --arrays --jumps --consts --no-volatiles --no-checksum --no-divs --no-muls --no-bitfields --no-packed-struct -s 1281247203