http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46498
Summary: [4.5/4.6 Regression] ICE: in eliminate_unnecessary_stmts, at tree-ssa-dce.c:1112 with -O -funsafe-math-optimizations -fno-tree-dominator-opts -fno-tree-reassoc Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu ----- testcase.c ----- void foo (double d) {} ---------------------- Compiler output: $ gcc -O -funsafe-math-optimizations -fno-tree-dominator-opts -fno-tree-reassoc testcase.c testcase.c: In function 'foo': testcase.c:1:6: internal compiler error: in eliminate_unnecessary_stmts, at tree-ssa-dce.c:1181 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Tested revisions: r166795 - crash r153685 - crash 4.5 r166509 - crash 4.4 r166509 - OK