gcc/testsuite/gcc.dg/torture/pr113126.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-Wno-psabi" } */ |
| 3 | |
| 4 | typedef float __attribute__((__vector_size__ (2 * sizeof(float)))) F; |
| 5 | typedef double __attribute__((__vector_size__ (2 * sizeof(double)))) G; |
| 6 | |
| 7 | F f; |
| 8 | G g; |
| 9 | |
| 10 | F |
| 11 | foo (void) |
| 12 | { |
| 13 | G h = __builtin_convertvector (f, G); |
| 14 | g = h <= h; |
| 15 | return f; |
| 16 | } |