Command line: $ g++ -fgraphite-identity -m32 -Os id-19.c Compiler output: $ /mnt/svn/gcc-trunk/binary-160165-lto-fortran/bin/g++ -fgraphite-identity -m32 -Os id-19.c id-19.c: In function 'void byte_insert_op1(unsigned char*, unsigned char*)': id-19.c:1:6: internal compiler error: in build2_stat, at tree.c:3670 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Tested revisions: r160165 - crash r160122 - crash r159696 - crash r158095 - crash r153685 - OK 4.5 r158978 - OK Reduced testcase (not much different from gcc.dg/graphite/id-19.c) ------------------------------ void byte_insert_op1 (unsigned char *loc, unsigned char *end, unsigned *pto) { while (end != loc) *pto = *--end; } ------------------------------ -- Summary: [4.6 Regression] gcc.dg/graphite/id-19.c ICEs at -Os (in build2_stat, at tree.c:3670) Product: gcc Version: 4.6.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: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44391