Comment 2 for bug 615989

Revision history for this message
Yao Qi (yao-codesourcery) wrote :

pendfunc1:
        @ args = 0, pretend = 0, frame = 16
        @ frame_needed = 1, uses_anonymous_args = 0
        push {r7, lr} @ 27 *push_multi [length = 4]
        sub sp, sp, #16 @ 28 *arm_addsi3/5 [length = 4]
        add r7, sp, #0 @ 30 *arm_addsi3/1 [length = 4]
        ldr r3, .L3 @ 9 pic_load_addr_thumb2 [length = 4]

Insn ldr on address 0x6 is generated from rtl 'pic_load_addr_thumb2', so it should *not* be associated with line 23,

So this entry
      'Special opcode 49: advance Address by 6 to 0x6 and Line by 2 to 23'
in .debug_line is wrong. AFAICS, the first failure is caused by a compiler bug.