Command line: gcc -O1 testcase.c (fails at all -O[123] levels) Tested revisions: r156999 - crash r156745 - crash r156293 - OK 4.4 r156256 - OK (with checking)
Output (with checking): $ mnt/svn/gcc-trunk/binary-156999-lto/bin/gcc -O1 testcase.c testcase.c: In function 'foo': testcase.c:1:6: internal compiler error: in try_improve_iv_set, at tree-ssa-loop-ivopts.c:5238 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Output (without checking): $ gcc-4.5.0-alpha20100225 -O1 testcase.c testcase.c: In function 'foo': testcase.c:1:6: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions. -- Summary: ICE in try_improve_iv_set, at tree-ssa-loop- ivopts.c:5238 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43209