------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-07-30 
10:47 -------
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 -feliminate-unused-debug-symbols -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 -g -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
-feliminate-unused-debug-symbols -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 -g -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 20100729 (experimental)
(x86_64-apple-darwin10.4.0)
        compiled by GNU C version 4.6.0 20100729 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU GIMPLE (GCC) version 4.6.0 20100729 (experimental)
(x86_64-apple-darwin10.4.0)
        compiled by GNU C version 4.6.0 20100729 (experimental), GMP version
4.3.2, MPFR version 2.4.2-p3, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
expand_expr_real_1 (exp=0x1425365d8, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.6-20100729/gcc/expr.c:8667
8667            if (INDIRECT_REF_P (base)
(gdb) bt
#0  expand_expr_real_1 (exp=0x1425365d8, target=0x0, tmode=VOIDmode,
modifier=EXPAND_NORMAL, alt_rtl=0x0) at ../../gcc-4.6-20100729/gcc/expr.c:8667
#1  0x000000010033c82f in expand_expr_real (exp=0x1425365d8, target=<value
temporarily unavailable, due to optimizations>, tmode=<value temporarily
unavailable, due to optimizations>, modifier=<value temporarily unavailable,
due to optimizations>, alt_rtl=<value temporarily unavailable, due to
optimizations>) at ../../gcc-4.6-20100729/gcc/expr.c:7231
#2  0x0000000100337266 in expand_expr_real_1 (exp=0x142530d68, target=0x0,
tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0) at expr.h:422
#3  0x00000001002ceb68 in do_jump (exp=0x142530d68, if_false_label=0x0,
if_true_label=0x1425439d8, prob=10000) at expr.h:428
#4  0x000000010025cfc1 in expand_gimple_cond (bb=<value temporarily
unavailable, due to optimizations>, stmt=0x142529960) at
../../gcc-4.6-20100729/gcc/cfgexpand.c:1692
#5  0x000000010025dea1 in expand_gimple_basic_block (bb=0x142516f70) at
../../gcc-4.6-20100729/gcc/cfgexpand.c:3328
#6  0x0000000100262e48 in gimple_expand_cfg () at
../../gcc-4.6-20100729/gcc/cfgexpand.c:3881
#7  0x00000001004f7386 in execute_one_pass (pass=0x100aae920) at
../../gcc-4.6-20100729/gcc/passes.c:1564
#8  0x00000001004f765d in execute_pass_list (pass=0x100aae920) at
../../gcc-4.6-20100729/gcc/passes.c:1619
#9  0x00000001006289ac in tree_rest_of_compilation (fndecl=0x142519b00) at
../../gcc-4.6-20100729/gcc/tree-optimize.c:452
#10 0x00000001007f747d in cgraph_expand_function (node=0x14251f2b0) at
../../gcc-4.6-20100729/gcc/cgraphunit.c:1643
#11 0x00000001007fa6fa in cgraph_optimize () at
../../gcc-4.6-20100729/gcc/cgraphunit.c:1722
#12 0x0000000100019e14 in lto_main (debug_p=<value temporarily unavailable, due
to optimizations>) at ../../gcc-4.6-20100729/gcc/lto/lto.c:2038
#13 0x00000001005ba96a in toplev_main (argc=22, argv=0x7fff5fbfee50) at
../../gcc-4.6-20100729/gcc/toplev.c:945
#14 0x00000001000010b4 in start ()
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45141

Reply via email to