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

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> 2011-05-04 15:37:43 
UTC ---
(In reply to comment #9)
> Can you track down on which mem_loc_descriptor call these new
> DW_OP_GNU_*_type/DW_OP_GNU_{convert,reinterpret}
> locs have been added, and for that post a backtrace and debug_rtx on the
> outermost mem_loc_descriptor call argument?

Breakpoint 6, mem_loc_descriptor (rtl=0x7ffff0dde4c0, mode=DImode, 
    mem_mode=DImode, initialized=VAR_INIT_STATUS_INITIALIZED)
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:13952
13952          mem_loc_result = new_loc_descr (DW_OP_GNU_regval_type,
(gdb) call debug_rtx (rtl)
(reg/f:DI 6 bp)
(gdb) bt
#0  mem_loc_descriptor (rtl=0x7ffff0dde4c0, mode=DImode, mem_mode=DImode, 
    initialized=VAR_INIT_STATUS_INITIALIZED)
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:13952
#1  0x0000000000b3b26c in mem_loc_descriptor (rtl=0x7ffff0d47f90, mode=DImode, 
    mem_mode=DImode, initialized=VAR_INIT_STATUS_INITIALIZED)
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:14196
#2  0x0000000000b1bed6 in dwarf2out_frame_debug_cfa_expression (
    set=0x7ffff0d47fc0, label=0x4a8edc0 "<do not output>")
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:2088
#3  0x0000000000b1d605 in dwarf2out_frame_debug (insn=0x7ffff0d45a20, 
    after_p=1 '\001') at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:2870
#4  0x0000000000c9a5f8 in final_scan_insn (insn=0x7ffff0d45a20, 
    file=0x4c05540, optimize_p=2, nopeepholes=0, seen=0x7fffffffddac)
    at /export/gnu/import/git/gcc-x32/gcc/final.c:2775
#5  0x0000000000c98a73 in final (first=0x7ffff0ce95c0, file=0x4c05540, 
    optimize_p=2) at /export/gnu/import/git/gcc-x32/gcc/final.c:1795
#6  0x0000000000c9cf40 in rest_of_handle_final ()
    at /export/gnu/import/git/gcc-x32/gcc/final.c:4246
#7  0x000000000133ac0e in execute_one_pass (pass=0x4a80980)
    at /export/gnu/import/git/gcc-x32/gcc/passes.c:1556
#8  0x000000000133adfd in execute_pass_list (pass=0x4a80980)
    at /export/gnu/import/git/gcc-x32/gcc/passes.c:1611
#9  0x000000000133ae1e in execute_pass_list (pass=0x4a81360)
---Type <return> to continue, or q <return> to quit---
    at /export/gnu/import/git/gcc-x32/gcc/passes.c:1612
#10 0x000000000133ae1e in execute_pass_list (pass=0x4a81300)
    at /export/gnu/import/git/gcc-x32/gcc/passes.c:1612
#11 0x0000000001b15ff1 in tree_rest_of_compilation (fndecl=0x7ffff0ce7200)
    at /export/gnu/import/git/gcc-x32/gcc/tree-optimize.c:423
#12 0x000000000280711e in cgraph_expand_function (node=0x7ffff0ceb250)
    at /export/gnu/import/git/gcc-x32/gcc/cgraphunit.c:1579
#13 0x00000000028072dd in cgraph_expand_all_functions ()
    at /export/gnu/import/git/gcc-x32/gcc/cgraphunit.c:1638
#14 0x000000000280796a in cgraph_optimize ()
    at /export/gnu/import/git/gcc-x32/gcc/cgraphunit.c:1901
#15 0x0000000002804dde in cgraph_finalize_compilation_unit ()
    at /export/gnu/import/git/gcc-x32/gcc/cgraphunit.c:1099
#16 0x00000000004f38c6 in c_write_global_declarations ()
    at /export/gnu/import/git/gcc-x32/gcc/c-decl.c:9883
#17 0x0000000001782785 in compile_file ()
    at /export/gnu/import/git/gcc-x32/gcc/toplev.c:591
#18 0x000000000178496b in do_compile ()
    at /export/gnu/import/git/gcc-x32/gcc/toplev.c:1913
#19 0x0000000001784ab8 in toplev_main (argc=20, argv=0x7fffffffe248)
    at /export/gnu/import/git/gcc-x32/gcc/toplev.c:1976
#20 0x0000000000734eaa in main (argc=20, argv=0x7fffffffe248)
    at /export/gnu/import/git/gcc-x32/gcc/main.c:36
(gdb) f 1
#1  0x0000000000b3b26c in mem_loc_descriptor (rtl=0x7ffff0d47f90, mode=DImode, 
    mem_mode=DImode, initialized=VAR_INIT_STATUS_INITIALIZED)
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:14196
14196          mem_loc_result = mem_loc_descriptor (XEXP (rtl, 0), mode,
mem_mode,
(gdb) call debug_rtx (rtl)
(plus:DI (reg/f:DI 6 bp)
    (const_int -24 [0xffffffffffffffe8]))
(gdb) f 2
#2  0x0000000000b1bed6 in dwarf2out_frame_debug_cfa_expression (
    set=0x7ffff0d47fc0, label=0x4a8edc0 "<do not output>")
    at /export/gnu/import/git/gcc-x32/gcc/dwarf2out.c:2088
2088        = mem_loc_descriptor (XEXP (dest, 0), get_address_mode (dest),
(gdb)

Reply via email to