------- Comment #1 from zsojka at seznam dot cz 2010-01-07 12:43 ------- Created an attachment (id=19496) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19496&action=view) testcase (not reduced)
While reducing this testcase with delta, different -fcompare-debug problem appeared (with non-random behaviour, failing with just -O1), so I won't upload the reduced version here. Fails randomly with "-O2 -fgraphite-identity -fcompare-debug", x86_64, r156680: # echo 1 > /proc/sys/kernel/randomize_va_space $ /mnt/svn/gcc-trunk/binary-155680-lto/bin/g++ -O2 -fgraphite-identity -fcompare-debug -c dbg_helpers-noempty.ii $ /mnt/svn/gcc-trunk/binary-155680-lto/bin/g++ -O2 -fgraphite-identity -fcompare-debug -c dbg_helpers-noempty.ii $ /mnt/svn/gcc-trunk/binary-155680-lto/bin/g++ -O2 -fgraphite-identity -fcompare-debug -c dbg_helpers-noempty.ii g++: dbg_helpers-noempty.ii: -fcompare-debug failure Also fails randomly with: -O1 -fcompare-debug -ftree-pre -ftree-vectorize -fgraphite-identity I tried to compile gcc with patch from comment #0, but it fails with: ../../gcc/sese.c: In function ‘rename_map_elt_info’: ../../gcc/sese.c:81: error: ‘const struct rename_map_elt_s’ has no member named ‘base’ ../../gcc/sese.c:81: warning: passing argument 1 of ‘tree_check_failed’ from incompatible pointer type ../../gcc/sese.c:81: error: ‘const struct rename_map_elt_s’ has no member named ‘ssa_name’ ../../gcc/sese.c:82: warning: control reaches end of non-void function -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42641