c++: Fix ICE with #embed/RAW_DATA_CST after list conversion [PR118671]
[official-gcc.git] / gcc / testsuite / gcc.dg / dfp / pr104557.c
bloba4a1cc6340913cb8f2196dd054aa8cfbfd4c45d7
1 /* PR debug/104557 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -g -Wno-psabi" } */
5 typedef int __attribute__((__vector_size__ (32))) U;
6 typedef double __attribute__((__vector_size__ (32))) F;
7 typedef _Decimal64 __attribute__((__vector_size__ (32))) D;
10 bar (void)
12 F f = __builtin_convertvector ((D) (-10.d < (D) ((D) (U) { 0, 0, 0, 0, 0, 0, 0, -0xe0 }
13 >= (D) { 80000000 })), F);
14 return f;
18 foo ()
20 F x = bar ();
21 return x;