http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47737
Summary: [4.6 Regression] wrong code with -funswitch-loops -fno-tree-dominator-opts -fgraphite-identity Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: zso...@seznam.cz CC: s...@gcc.gnu.org Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 23339 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23339 reduced testcase Output: $ gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-170138-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-170138-lto-fortran-checking-yes-rtl-df/ --with-cloog --with-ppl --with-cloog-include=/usr/include/cloog-ppl/ Thread model: posix gcc version 4.6.0 20110214 (experimental) (GCC) $ gcc -O -funswitch-loops -fno-tree-dominator-opts -fgraphite-identity testcase.c $ ./a.out Aborted Tested revisions: r170138 - fail 4.5.2 - OK