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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-01-31
                 CC|                            |jakub at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(call_insn:TI 75 646 762 3 (set (reg:SI 0 ax)
        (call (mem:QI (symbol_ref:DI ("__sigsetjmp") [flags 0x41] 
<function_decl 0x7f80cdafe100 __sigsetjmp>) [0 __sigsetjmp S1 A8])
            (const_int 0 [0]))) "../../../tests/server/tftpd.c":1334 690
{*call_value}
     (expr_list:REG_DEAD (reg:DI 5 di)
        (expr_list:REG_DEAD (reg:SI 4 si)
            (expr_list:REG_UNUSED (reg:SI 0 ax)
                (expr_list:REG_CALL_DECL (symbol_ref:DI ("__sigsetjmp") [flags
0x41]  <function_decl 0x7f80cdafe100 __sigsetjmp>)
                    (expr_list:REG_SETJMP (const_int 0 [0])
                        (expr_list:REG_EH_REGION (const_int 0 [0])
                            (nil)))))))
    (expr_list:DI (use (reg:DI 5 di))
        (expr_list:SI (use (reg:SI 4 si))
            (nil))))
(insn 762 75 647 3 (unspec_volatile [
            (const_int 0 [0])
        ] UNSPECV_NOP_ENDBR) "../../../tests/server/tftpd.c":1334 1101
{nop_endbr}
     (nil))
(note 647 762 80 (expr_list:REG_DEP_TRUE (concat:DI (reg:DI 5 di)
        (symbol_ref:DI ("timeoutbuf") [flags 0x2]  <var_decl 0x7f80cde4ae10
timeoutbuf>))
    (expr_list:REG_DEP_TRUE (concat:SI (reg:SI 4 si)
            (const_int 1 [0x1]))
        (nil))) NOTE_INSN_CALL_ARG_LOCATION)

The bug is inserting anything in between a CALL and
NOTE_INSN_CALL_ARG_LOCATION, those need to be consecutive.  Let me first reduce
this.

Reply via email to