------- Comment #2 from howarth at nitro dot med dot uc dot edu 2010-07-23 01:59 ------- The ICE in lto1 backtraces as...
gdb /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto1 (gdb) r -fPIC -quiet -dumpdir ./ -dumpbase cns_solve-1007222053.exe.ltrans2 -mmacosx-version-min=10.6.4 -mtune=generic -auxbase-strip cns_solve-1007222053.exe.ltrans2.ltrans.o -O2 -w -version -fdefault-integer-8 -fwhole-program -fltrans cns_solve-1007222053.exe.ltrans2.o -o cns_solve-1007222053.exe.ltrans2.s Starting program: /sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin10.4.0/4.6.0/lto1 -fPIC -quiet -dumpdir ./ -dumpbase cns_solve-1007222053.exe.ltrans2 -mmacosx-version-min=10.6.4 -mtune=generic -auxbase-strip cns_solve-1007222053.exe.ltrans2.ltrans.o -O2 -w -version -fdefault-integer-8 -fwhole-program -fltrans cns_solve-1007222053.exe.ltrans2.o -o cns_solve-1007222053.exe.ltrans2.s Reading symbols for shared libraries .++++++++++++..... done GNU GIMPLE (GCC) version 4.6.0 20100722 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20100722 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU GIMPLE (GCC) version 4.6.0 20100722 (experimental) (x86_64-apple-darwin10.4.0) compiled by GNU C version 4.6.0 20100722 (experimental), GMP version 4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000 rewrite_use_address (use=0x14151e260, cand=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.6-20100722/gcc/tree-ssa-loop-ivopts.c:5607 5607 if ((INDIRECT_REF_P (base) (gdb) bt #0 rewrite_use_address (use=0x14151e260, cand=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.6-20100722/gcc/tree-ssa-loop-ivopts.c:5607 #1 0x0000000100593e24 in tree_ssa_iv_optimize () at ../../gcc-4.6-20100722/gcc/tree-ssa-loop-ivopts.c:5717 #2 0x00000001005a0d2a in tree_ssa_loop_ivopts () at ../../gcc-4.6-20100722/gcc/tree-ssa-loop.c:634 #3 0x000000010044c438 in execute_one_pass (pass=0x1008f73c0) at ../../gcc-4.6-20100722/gcc/passes.c:1564 #4 0x000000010044c6dd in execute_pass_list (pass=0x1008f73c0) at ../../gcc-4.6-20100722/gcc/passes.c:1619 #5 0x000000010044c6ef in execute_pass_list (pass=0x1008f79c0) at ../../gcc-4.6-20100722/gcc/passes.c:1620 #6 0x000000010044c6ef in execute_pass_list (pass=0x1008f6be0) at ../../gcc-4.6-20100722/gcc/passes.c:1620 #7 0x0000000100540825 in tree_rest_of_compilation (fndecl=0x141718c00) at ../../gcc-4.6-20100722/gcc/tree-optimize.c:452 #8 0x000000010069974d in cgraph_expand_function (node=0x141720150) at ../../gcc-4.6-20100722/gcc/cgraphunit.c:1643 #9 0x000000010069ba69 in cgraph_optimize () at ../../gcc-4.6-20100722/gcc/cgraphunit.c:1722 #10 0x0000000100017a49 in lto_main (debug_p=<value temporarily unavailable, due to optimizations>) at ../../gcc-4.6-20100722/gcc/lto/lto.c:1852 #11 0x00000001004f9729 in toplev_main (argc=20, argv=0x7fff5fbfeea8) at ../../gcc-4.6-20100722/gcc/toplev.c:978 #12 0x0000000100000f44 in start () (gdb) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45037