blob: e0b893c066771493c0b71bf70efa9e454f5c8131 [file] [log] [blame]
/* { dg-do compile { target aarch64-*-* } } */
/*
Should compile rather than ICE.
Compilation requires setting the "epilogue_completed" variable.
*/
int __RTL (startwith ("cprop_hardreg"))
f ()
{
(function "f"
(insn-chain
(block 2
(edge-from entry (flags "FALLTHRU"))
(cnote 6 [bb 2] NOTE_INSN_BASIC_BLOCK)
(cinsn 100 (set (reg:DI x0)
(plus:DI
(reg:DI x1)
(const_int 16777213))))
;; Extra insn, to avoid all of the above from being deleted by DCE
(cinsn 10 (use (reg/i:DI x0)))
(edge-to exit (flags "FALLTHRU"))
) ;; block 2
) ;; insn-chain
) ;; function
}