gcc/testsuite/gcc.dg/torture/pr118562.c
raw| 1 | /* { dg-additional-options "-march=rv64gv -mabi=lp64" { target { rv64 } } } */ |
| 2 | |
| 3 | float b[2], c[2]; |
| 4 | void d(); |
| 5 | int h1(); |
| 6 | void e(float * __restrict h) { |
| 7 | int f; |
| 8 | for (int f = 0; f < 4; f++) { |
| 9 | if (h1()) |
| 10 | d(); |
| 11 | } |
| 12 | for (int g = 0; g < 4; g++) { |
| 13 | c[0] = h[0] - b[0]; |
| 14 | c[1] = h[1] - b[1]; |
| 15 | d(); |
| 16 | h += 1; |
| 17 | } |
| 18 | } |