[Bug debug/59575] [4.9 regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239

rmansfield at qnx dot com gcc-bugzilla@gcc.gnu.org
Wed Jan 29 14:13:00 GMT 2014


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

--- Comment #23 from Ryan Mansfield <rmansfield at qnx dot com> ---
(In reply to Jakub Jelinek from comment #21)
> Can you
> break gen_rtx_fmt_E_stat if code == SEQUENCE
> and see where this SEQUENCE has been allocated and why the count is so
> bogusly high?

#1  0x0000000000c110a2 in emit_multi_reg_push (mask=18480, 
    dwarf_regs_mask=18480) at ../../gcc/config/arm/arm.c:19645
19645      dwarf = gen_rtx_SEQUENCE (VOIDmode, rtvec_alloc (num_dwarf_regs +
1));


(gdb) p debug_rtx(dwarf)
(sequence [
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
        (nil)
    ])

(gdb) p num_dwarf_regs 
$7 = 44


I've made sure my sandbox is clean, and that I only have rev207207 + your
second patch applied.



More information about the Gcc-bugs mailing list