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

baoshan <pangbw at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pangbw at gmail dot com

--- Comment #10 from baoshan <pangbw at gmail dot com> ---
The code is broken in the latest code because beside NOTE instruction there
could be BARRIER too, for instance the RTX list I am seeing:

(call_insn 32 35 33 (parallel [
            (set (reg:SI 2 $2)
                (call (mem:SI (reg:SI 25 $25 [198]) [0  S4 A32])
                    (const_int 16 [0x10])))
            (clobber (reg:SI 31 $31))
            (clobber (reg:SI 28 $28))
        ]) min.c:20 603 {call_value_split}
     (nil)
    (expr_list (use (reg:SI 79 $fakec))
        (expr_list (use (reg:SI 28 $28))
            (expr_list:SI (use (reg:SI 5 $5))
                (expr_list:SI (use (reg:SI 4 $4))
                    (nil))))))
(insn 33 32 34 (set (reg:SI 28 $28)
        (mem/c:SI (plus:SI (reg/f:SI 29 $sp)
                (const_int 16 [0x10])) [0  S4 A32])) min.c:20 288
{*movsi_internal}
     (nil))
(barrier 34 33 18)
(barrier 18 34 30)
(note 30 18 21 (expr_list:REG_DEP_TRUE (concat:SI (pc)
        (unspec:SI [
                (reg:SI 28 $28)
            (const:SI (unspec:SI [
                            (symbol_ref:SI ("signal") [flags 0x41] 
<function_decl 0xb71f6700 signal>)
                ] 227))
                (reg:SI 79 $fakec)
            ] UNSPEC_LOAD_CALL))
    (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 5 $5)
            (const_int 0 [0]))
        (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 4 $4)
            (const_int 2 [0x2]))
            (nil)))) NOTE_INSN_CALL_ARG_LOCATION)
(note 21 30 0 NOTE_INSN_DELETED)

Reply via email to