gcc/testsuite/gcc.dg/vect/pr115753-2.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-O2 -frounding-math" } */ |
| 3 | /* { dg-add-options float16 } */ |
| 4 | /* { dg-require-effective-target float16 } */ |
| 5 | |
| 6 | void f(_Float16*); |
| 7 | void |
| 8 | foo1 () |
| 9 | { |
| 10 | int t0 = 3967; |
| 11 | int t1 = 3969; |
| 12 | int t2 = 3971; |
| 13 | int t3 = 3973; |
| 14 | _Float16 tt[4]; |
| 15 | tt[0] = t0; |
| 16 | tt[1] = t1; |
| 17 | tt[2] = t2; |
| 18 | tt[3] = t3; |
| 19 | f(&tt[0]); |
| 20 | } |