gcc/testsuite/gcc.dg/pr105263.c
raw| 1 | /* { dg-do compile { target dfp } } */ |
| 2 | /* { dg-options "-O -ffast-math -w -Wno-psabi" } */ |
| 3 | |
| 4 | typedef _Decimal64 __attribute__((__vector_size__ (8))) U; |
| 5 | typedef _Decimal64 __attribute__((__vector_size__ (16))) V; |
| 6 | |
| 7 | V v; |
| 8 | |
| 9 | U |
| 10 | foo (U u) |
| 11 | { |
| 12 | u *= u; |
| 13 | u *= -(U){ v[1] }; |
| 14 | return u; |
| 15 | } |