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