[Bug debug/95574] line table entry in sequence with address after sequence

vries at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 7 13:44:07 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95574

--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
This seems to be var-track related.

Before var-track we have:
...
(debug_insn 23 41 24 5 (debug_marker) "test2.c":12:5 -1
     (nil))
(call_insn 24 23 25 5 (call (mem:QI (symbol_ref:DI ("abort") [flags 0x41] 
<function_decl 0x7\
f376428b600 abort>) [0 __builtin_abort S1 A8])
        (const_int 0 [0])) "test2.c":12:5 795 {*call}
     (expr_list:REG_CALL_DECL (symbol_ref:DI ("abort") [flags 0x41] 
<function_decl 0x7f37642\
8b600 abort>)
        (expr_list:REG_ARGS_SIZE (const_int 0 [0])
            (expr_list:REG_NORETURN (const_int 0 [0])
                (expr_list:REG_EH_REGION (const_int 0 [0])
                    (nil)))))
    (nil))
(barrier 25 24 39)
(note 39 25 0 NOTE_INSN_DELETED)
...
and after:
...
(call_insn:TI 24 41 80 5 (call (mem:QI (symbol_ref:DI ("abort") [flags 0x41] 
<function_decl 0x7fc0f7701000 abort>) [0 __builtin_abort S1 A8])
        (const_int 0 [0])) "test2.c":12:5 666 {*call}
     (expr_list:REG_CALL_ARG_LOCATION (nil)
        (expr_list:REG_CALL_DECL (symbol_ref:DI ("abort") [flags 0x41] 
<function_decl 0x7fc0f7701000 abort>)
            (expr_list:REG_ARGS_SIZE (const_int 0 [0])
                (expr_list:REG_NORETURN (const_int 0 [0])
                    (expr_list:REG_EH_REGION (const_int 0 [0])
                        (nil))))))
    (nil))
(note/c 80 24 79 (var_location a (entry_value:SI (reg:SI 5 di [ a ])))
NOTE_INSN_VAR_LOCATION)
(note/c 79 80 25 (var_location w (neg:SI (entry_value:SI (reg:SI 5 di [ a ]))))
NOTE_INSN_VAR_LOCATION)
(barrier 25 79 39)
(note 39 25 0 NOTE_INSN_DELETED)
...


More information about the Gcc-bugs mailing list