gcc/testsuite/gcc.dg/torture/pr116569.c
raw| 1 | /* { dg-additional-options "-mcpu=neoverse-v2" { target aarch64*-*-* } } */ |
| 2 | int a; |
| 3 | short b, c, e; |
| 4 | long d, f; |
| 5 | long g (long h) |
| 6 | { |
| 7 | if (h) |
| 8 | return h; |
| 9 | return d; |
| 10 | } |
| 11 | void i (int h[][0][0][0]) |
| 12 | { |
| 13 | for (short j; j; j += 3) |
| 14 | { |
| 15 | a = g(h[1][2] ? 0 : h[1][1][1][1]); |
| 16 | b = e ?: f % c; |
| 17 | } |
| 18 | } |