[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / pr71478.c
blob17ec7ec62a5d51d5099d8742c79a45c89b1c15e1
1 /* PR middle-end/71478 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -Wno-psabi -w" } */
5 typedef unsigned int __attribute__ ((vector_size (8))) uv2si;
6 typedef int __attribute__ ((vector_size (8))) v2si;
8 uv2si bar (v2si);
10 uv2si
11 foo (void)
13 v2si x = (v2si) (0x00007fff80008000UL);
14 v2si y = (v2si) (0x8f997fff00000000UL);
15 uv2si z = x >= y;
16 uv2si k = bar (x);
17 uv2si j = k * __builtin_shuffle (z, z, (uv2si) {1, 3});
18 return k * j;