Debian Codegraph @

gcc/testsuite/gcc.dg/rtl/aarch64/test-epilogue-set.c

raw
1 /* { dg-do compile { target aarch64-*-* } } */
2
3 /*
4 Should compile rather than ICE.
5 Compilation requires setting the "epilogue_completed" variable.
6 */
7 int __RTL (startwith ("cprop_hardreg"))
8 f ()
9 {
10 (function "f"
11 (insn-chain
12 (block 2
13 (edge-from entry (flags "FALLTHRU"))
14 (cnote 6 [bb 2] NOTE_INSN_BASIC_BLOCK)
15 (cinsn 100 (set (reg:DI x0)
16 (plus:DI
17 (reg:DI x1)
18 (const_int 16777213))))
19 ;; Extra insn, to avoid all of the above from being deleted by DCE
20 (cinsn 10 (use (reg/i:DI x0)))
21 (edge-to exit (flags "FALLTHRU"))
22 ) ;; block 2
23 ) ;; insn-chain
24 ) ;; function
25 }