------- Comment #1 from zsojka at seznam dot cz 2010-08-15 23:09 ------- Created an attachment (id=21485) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21485&action=view) reduced testcase
Testcase crashes at x86_64-linux as well. Valgrind output (r163261): $ valgrind --trace-children=yes -q /mnt/svn/gcc-trunk/binary-163261-lto-fortran-checking-yes-rtl-df/bin/gcc -O1 -funswitch-loops -fgraphite-identity testcase.c ==1230== Invalid read of size 1 ==1230== at 0x716434: gsi_for_stmt (gimple.h:245) ==1230== by 0xF4404F: insert_out_of_ssa_copy (graphite-sese-to-poly.c:2130) ==1230== by 0xF4486B: rewrite_phi_out_of_ssa (graphite-sese-to-poly.c:2328) ==1230== by 0xF4A1C1: rewrite_reductions_out_of_ssa (graphite-sese-to-poly.c:2403) ==1230== by 0xF35A8C: graphite_transform_loops (graphite.c:290) ==1230== by 0x984326: graphite_transforms (tree-ssa-loop.c:296) ==1230== by 0x7BF13B: execute_one_pass (passes.c:1567) ==1230== by 0x7BF3D4: execute_pass_list (passes.c:1622) ==1230== by 0x7BF3E6: execute_pass_list (passes.c:1623) ==1230== by 0x7BF3E6: execute_pass_list (passes.c:1623) ==1230== by 0x7BF3E6: execute_pass_list (passes.c:1623) ==1230== by 0x901335: tree_rest_of_compilation (tree-optimize.c:452) ==1230== Address 0x61 is not stack'd, malloc'd or (recently) free'd ==1230== testcase.c: In function 'f': testcase.c:2:1: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45231