gcc/testsuite/gcc.c-torture/compile/pr113221-1.c
raw| 1 | /* { dg-options "-fno-move-loop-invariants -funroll-all-loops" } */ |
| 2 | /* PR target/113221 */ |
| 3 | /* This used to ICE after the `load/store pair fusion pass` was added |
| 4 | due to the predicate aarch64_ldp_reg_operand allowing too much. */ |
| 5 | |
| 6 | |
| 7 | void bar(); |
| 8 | void foo(int* b) { |
| 9 | for (;;) |
| 10 | *b++ = (__SIZE_TYPE__)bar; |
| 11 | } |
| 12 |