This is the mail archive of the gcc@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: gcc.dg/debug/debug-[12].c failures on cmov targets


> No, the lexical block should still exist.

Even when everything is folded into the result?


Here an excerpt of 36.dbr on SPARC64:

(note 32 1 3 [bb 0] NOTE_INSN_BASIC_BLOCK)

(note 3 32 4 NOTE_INSN_DELETED)

(note 4 3 10 NOTE_INSN_FUNCTION_BEG)

(note 10 4 12 ("debug-1.c") 9)

(note 12 10 37 ("debug-1.c") 10)

(note 37 12 14 NOTE_INSN_DELETED)

(note 14 37 17 ("debug-1.c") 11)

(note 17 14 25 ("debug-1.c") 12)

(note 25 17 26 NOTE_INSN_FUNCTION_END)

(note 26 25 39 ("debug-1.c") 14)

(insn 39 26 28 (set (reg:DI %g1)
        (const_int 0 [0x0])) 62 {*movdi_insn_sp64_novis} (nil)
    (nil))

(insn 28 39 31 debug-1.c:14 (set (reg:DI %g1)
        (if_then_else:DI (ne:DI (reg:DI %i0 [ p ])
                (const_int 0 [0x0]))
            (const_int 2 [0x2])
            (reg:DI %g1))) 118 {*movdi_cc_reg_sp64} (insn_list 39 (nil))
    (expr_list:REG_DEAD (reg:DI %i0 [ p ])
        (nil)))

(insn 31 28 38 debug-1.c:14 (use (reg/i:DI %i0 [ <result> ])) -1 (insn_list 
40 (nil))
    (nil))


and of 35.mach on Alpha:

(note 32 1 40 [bb 0] NOTE_INSN_BASIC_BLOCK)

(note 40 32 3 NOTE_INSN_PROLOGUE_END)

(note 3 40 4 NOTE_INSN_DELETED)

(note 4 3 10 NOTE_INSN_FUNCTION_BEG)

(note 10 4 12 ("debug-1.c") 9)

(note 12 10 39 ("debug-1.c") 10)

(insn 39 12 37 (set (reg/v:DI $0 [orig:71 xyzzy ] [71])
        (const_int 0 [0x0])) 259 {*movdi_nofix} (nil)
    (nil))

(insn 37 39 14 debug-1.c:11 (set (reg/v:DI $0 [orig:71 xyzzy ] [71])
        (if_then_else:DI (ne (reg:DI $16 [ p ])
                (const_int 0 [0x0]))
            (const_int 20 [0x14])
            (reg/v:DI $0 [orig:71 xyzzy ] [71]))) 168 {*movdicc_internal} 
(insn_list 39 (nil))
    (expr_list:REG_DEAD (reg:DI $16 [ p ])
        (nil)))

(note 14 37 17 ("debug-1.c") 11)

(note 17 14 25 ("debug-1.c") 12)

(note 25 17 26 NOTE_INSN_FUNCTION_END)

(note 26 25 31 ("debug-1.c") 14)

(insn 31 26 41 debug-1.c:14 (use (reg/i:DI $0 [ <result> ])) -1 (insn_list 37 
(nil))
    (nil))

(note 41 31 42 NOTE_INSN_EPILOGUE_BEG)

(jump_insn 42 41 43 debug-1.c:14 (return) 224 {*return_internal} (nil)
    (nil))


-- 
Eric Botcazou


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