At r154653, the gcc.dg/graphite/interchange-8.c test case results in a compiler ICE on x86_64-apple-darwin10. The error shows up as...
Executing on host: /sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc45-4.4.999-20091125/darwin_objdir/gcc/ /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c -O2 -fdump-tree-graphite-all -floop-interchange -fno-loop-block -fno-loop-strip-mine -ffast-math -S -o interchange-8.s (timeout = 300) /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c: In function 'foo': /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.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. compiler exited with status 1 output is: /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c: In function 'foo': /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.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. FAIL: gcc.dg/graphite/interchange-8.c (internal compiler error) FAIL: gcc.dg/graphite/interchange-8.c (test for excess errors) Excess errors: /sw/src/fink.build/gcc45-4.4.999-20091125/gcc-4.5-20091125/gcc/testsuite/gcc.dg/graphite/interchange-8.c:2:1: internal compiler error: Segmentation fault XFAIL: gcc.dg/graphite/interchange-8.c scan-tree-dump-times graphite "will be interchanged" 1 A backtrace of the error shows... Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000004 0x00000001004da882 in lst_try_interchange (scop=<value temporarily unavailable, due to optimizations>, loop=<value temporarily unavailable, due to optimizations>, lst=<value temporarily unavailable, due to optimizations>, index=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:681 681 for (i = 0; VEC_iterate (lst_p, LST_SEQ (lst), i, l); i++) (gdb) bt #0 0x00000001004da882 in lst_try_interchange (scop=<value temporarily unavailable, due to optimizations>, loop=<value temporarily unavailable, due to optimizations>, lst=<value temporarily unavailable, due to optimizations>, index=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:681 #1 0x00000001004dcc48 in lst_do_interchange_1 (scop=0x141826910, loop=0x14182b460, index=0x7fff5fbfd20c) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:709 #2 0x00000001004dcca3 in lst_do_interchange (scop=0x141826910, loop=0x14182b460, index=0x7fff5fbfd20c) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:730 #3 0x00000001004dcd0b in lst_do_interchange (scop=0x141826910, loop=0x14182b480, index=0x7fff5fbfd20c) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:734 #4 0x00000001004dcd37 in scop_do_interchange (scop=0x141826910) at ../../gcc-4.5-20091125/gcc/graphite-interchange.c:748 #5 0x00000001004de288 in apply_poly_transforms (scop=0x141826910) at ../../gcc-4.5-20091125/gcc/graphite-poly.c:260 #6 0x00000001004caab3 in graphite_transform_loops () at ../../gcc-4.5-20091125/gcc/graphite.c:276 #7 0x000000010076d6ba in graphite_transforms () at ../../gcc-4.5-20091125/gcc/tree-ssa-loop.c:300 #8 0x00000001005ad4e1 in execute_one_pass (pass=0x100bfc200) at ../../gcc-4.5-20091125/gcc/passes.c:1522 #9 0x00000001005ad7dd in execute_pass_list (pass=0x100bfc200) at ../../gcc-4.5-20091125/gcc/passes.c:1577 #10 0x00000001005ad7ef in execute_pass_list (pass=0x100bfbf60) at ../../gcc-4.5-20091125/gcc/passes.c:1578 #11 0x00000001005ad7ef in execute_pass_list (pass=0x100bfb5a0) at ../../gcc-4.5-20091125/gcc/passes.c:1578 #12 0x00000001006df104 in tree_rest_of_compilation (fndecl=0x141e03f00) at ../../gcc-4.5-20091125/gcc/tree-optimize.c:411 #13 0x000000010089782b in cgraph_expand_function (node=0x141d0c440) at ../../gcc-4.5-20091125/gcc/cgraphunit.c:1178 #14 0x000000010089992a in cgraph_optimize () at ../../gcc-4.5-20091125/gcc/cgraphunit.c:1245 #15 0x0000000100899f3f in cgraph_finalize_compilation_unit () at ../../gcc-4.5-20091125/gcc/cgraphunit.c:1107 #16 0x000000010001f472 in c_write_global_declarations () at ../../gcc-4.5-20091125/gcc/c-decl.c:9489 #17 0x00000001006745d2 in toplev_main (argc=28, argv=0x7fff5fbfd5e0) at ../../gcc-4.5-20091125/gcc/toplev.c:1061 #18 0x0000000100000a04 in start () Using built-in specs. COLLECT_GCC=gcc-4 COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.2.0/4.5.0/lto-wrapper Target: x86_64-apple-darwin10.2.0 Configured with: ../gcc-4.5-20091125/configure --prefix=/sw --prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib Thread model: posix gcc version 4.5.0 20091125 (experimental) (GCC) -- Summary: gcc.dg/graphite/interchange-8.c causes ICE Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin10 GCC host triplet: x86_64-apple-darwin10 GCC target triplet: x86_64-apple-darwin10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42178