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

--- Comment #20 from Ryan Mansfield <rmansfield at qnx dot com> ---
> Sorry, can't reproduce.  Can you run it in the debugger
> p debug_rtx (p)
> up
> p debug_rtx (insn)
> ?

Sorry for the delay.

Starting program: /home/ryan/gnu/gcc/trunk/arm-eabi/gcc/./cc1 -fexceptions
/home/ryan/conftest.c
 foo
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <*free_inline_summary>
<whole-program> <inline>Assembling functions:
 foo
Program received signal SIGSEGV, Segmentation fault.
0x0000000000c285e2 in arm_unwind_emit_sequence (asm_out_file=0x165d930, 
    p=0x7ffff6dd20a0) at ../../gcc/config/arm/arm.c:28728
28728          e = XEXP (SET_DEST (e), 0);
(gdb) p debug_rtx(p)
(sequence [
        (set/f (reg/f:SI 13 sp)
            (plus:SI (reg/f:SI 13 sp)
                (const_int -16 [0xfffffffffffffff0])))
        (set/f (mem/c:SI (reg/f:SI 13 sp) [0  S4 A32])
            (reg:SI 4 r4))
        (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                    (const_int 4 [0x4])) [0  S4 A32])
            (reg:SI 5 r5))
        (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                    (const_int 8 [0x8])) [0  S4 A32])
            (reg/f:SI 11 fp))
        (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                    (const_int 12 [0xc])) [0  S4 A32])
            (reg:SI 14 lr))
        (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)
    ])
$2 = void
(gdb) up
#1  0x0000000000c2905e in arm_unwind_emit (asm_out_file=0x165d930, 
    insn=0x7ffff6dd31f8) at ../../gcc/config/arm/arm.c:28969
28969          arm_unwind_emit_sequence (asm_out_file, pat);
(gdb) p debug_rtx(insn)
(insn/f 65 3 66 (parallel [
            (set (mem/c:BLK (pre_modify:SI (reg/f:SI 13 sp)
                        (plus:SI (reg/f:SI 13 sp)
                            (const_int -16 [0xfffffffffffffff0]))) [0  A8])
                (unspec:BLK [
                        (reg:SI 4 r4)
                    ] UNSPEC_PUSH_MULT))
            (use (reg:SI 5 r5))
            (use (reg/f:SI 11 fp))
            (use (reg:SI 14 lr))
        ]) /home/ryan/conftest.c:4 341 {*push_multi}
     (expr_list:REG_FRAME_RELATED_EXPR (sequence [
                (set/f (reg/f:SI 13 sp)
                    (plus:SI (reg/f:SI 13 sp)
                        (const_int -16 [0xfffffffffffffff0])))
                (set/f (mem/c:SI (reg/f:SI 13 sp) [0  S4 A32])
                    (reg:SI 4 r4))
                (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                            (const_int 4 [0x4])) [0  S4 A32])
                    (reg:SI 5 r5))
                (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                            (const_int 8 [0x8])) [0  S4 A32])
                    (reg/f:SI 11 fp))
                (set/f (mem/c:SI (plus:SI (reg/f:SI 13 sp)
                            (const_int 12 [0xc])) [0  S4 A32])
                    (reg:SI 14 lr))
                (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)))
$3 = void

Reply via email to