gcc/testsuite/gcc.target/aarch64/pr96757.c
raw| 1 | /* PR target/96757 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O3" } */ |
| 4 | |
| 5 | short |
| 6 | fun1(short i, short j) |
| 7 | { |
| 8 | return i * j; |
| 9 | } |
| 10 | |
| 11 | int |
| 12 | fun(int a, int b, int c) |
| 13 | { |
| 14 | int *v, z, k, m; |
| 15 | short f, d; |
| 16 | for (int i=0; i<c; i++) |
| 17 | { |
| 18 | f= 4 <= d; |
| 19 | k= a > m; |
| 20 | z = f > k; |
| 21 | *v += fun1(z,b); |
| 22 | } |
| 23 | } |