This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: debugging internal compiler errors ...


Hi,

Sorry. This is a little better (added -g to CFLAGS on build command):

(gdb) where
#0  assign_temp (type_or_decl=0x0, keep=0, memory_required=1, dont_promote=1)
    at ../../gcc-4.3.5/gcc/function.c:807
#1  0x08143d0c in emit_push_insn (x=0xb724dca0, mode=DImode, type=0x0,
    size=0xb733c240, align=32, partial=0, reg=0x0, extra=0, args_addr=0x0,
    args_so_far=0xb733c200, reg_parm_stack_space=0, alignment_pad=0xb733c200)
    at ../../gcc-4.3.5/gcc/expr.c:3731
#2  0x080c5906 in emit_library_call_value_1 (retval=1, orgfun=0xb724deb0,
    value=0x0, fn_type=LCT_CONST, outmode=XFmode, nargs=1,
    p=0xbfd92924 "ïï$ï\a") at ../../gcc-4.3.5/gcc/calls.c:3760
#3  0x080c610a in emit_library_call_value (orgfun=0xb724deb0, value=0x0,
    fn_type=LCT_CONST, outmode=XFmode, nargs=1)
    at ../../gcc-4.3.5/gcc/calls.c:4085
#4  0x081bf21a in expand_float (to=0xb724dea0, from=0xb724dca0, unsignedp=1)
    at ../../gcc-4.3.5/gcc/optabs.c:5266
#5  0x0813b58b in expand_expr_real_1 (exp=0xb73c8680, target=0xb724dea0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc-4.3.5/gcc/expr.c:8737
#6  0x0813d40b in expand_expr_real (exp=0xb73c8680, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc-4.3.5/gcc/expr.c:7115
#7  0x0813d7bc in expand_operands (exp0=0xb7263500, exp1=0xb73c8680,
    target=0x0, op0=0xbfd92bcc, op1=0xbfd92bc8, modifier=EXPAND_NORMAL)
    at ../../gcc-4.3.5/gcc/expr.h:514
---Type <return> to continue, or q <return> to quit---
#8  0x0813d168 in expand_expr_real_1 (exp=0xb73a55a0, target=0xb724dc90,
    tmode=XFmode, modifier=EXPAND_NORMAL, alt_rtl=0xbfd92c7c)
    at ../../gcc-4.3.5/gcc/expr.c:9403
#9  0x0813d40b in expand_expr_real (exp=0xb73a55a0, target=0xb724dc90,
    tmode=XFmode, modifier=EXPAND_NORMAL, alt_rtl=0xbfd92c7c)
    at ../../gcc-4.3.5/gcc/expr.c:7115
#10 0x08143615 in store_expr (exp=0xb73a55a0, target=0xb724dc90,
    call_param_p=0, nontemporal=0 '\0') at ../../gcc-4.3.5/gcc/expr.c:4584
#11 0x081454b6 in expand_assignment (to=0xb72691b8, from=0xb73a55a0,
    nontemporal=160 'ï') at ../../gcc-4.3.5/gcc/expr.c:4367
#12 0x0813c8b9 in expand_expr_real_1 (exp=0xb72656ac, target=0x0,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc-4.3.5/gcc/expr.c:9158
#13 0x0813d3e0 in expand_expr_real (exp=0xb72656ac, target=0xb733c200,
    tmode=VOIDmode, modifier=EXPAND_NORMAL, alt_rtl=0x0)
    at ../../gcc-4.3.5/gcc/expr.c:7109
#14 0x0822527b in expand_expr_stmt (exp=0xb72656ac)
    at ../../gcc-4.3.5/gcc/expr.h:514
#15 0x08420bc9 in expand_gimple_basic_block (bb=0xb7334708)
    at ../../gcc-4.3.5/gcc/cfgexpand.c:1610
#16 0x08421269 in tree_expand_cfg () at ../../gcc-4.3.5/gcc/cfgexpand.c:1921
#17 0x081c5b6c in execute_one_pass (pass=0x8576520)
    at ../../gcc-4.3.5/gcc/passes.c:1122
---Type <return> to continue, or q <return> to quit---
#18 0x081c5c80 in execute_pass_list (pass=0x8576520)
    at ../../gcc-4.3.5/gcc/passes.c:1176
#19 0x08266ae8 in tree_rest_of_compilation (fndecl=0xb72605b0)
    at ../../gcc-4.3.5/gcc/tree-optimize.c:404
#20 0x083549bd in cgraph_expand_function (node=0xb733f500)
    at ../../gcc-4.3.5/gcc/cgraphunit.c:1166
#21 0x083562cf in cgraph_optimize () at ../../gcc-4.3.5/gcc/cgraphunit.c:1229
#22 0x08059424 in c_write_global_declarations ()
    at ../../gcc-4.3.5/gcc/c-decl.c:8099
#23 0x08230b45 in toplev_main (argc=22, argv=0xbfd93104)
    at ../../gcc-4.3.5/gcc/toplev.c:1055
#24 0x080a440f in main (argc=Cannot access memory at address 0x7
) at ../../gcc-4.3.5/gcc/main.c:35

Thanks!

kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]