Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr97521.c

raw
1 /* { dg-do run } */
2 /* { dg-options "-O -mno-sse2 -Wno-psabi" } */
3
4 typedef unsigned char __attribute__ ((__vector_size__ (8))) V;
5 typedef unsigned long long __attribute__ ((__vector_size__ (16))) W;
6
7 V c;
8 W d, e;
9
10 V
11 foo (W f)
12 {
13 W g = (W) { 0, 209 } <7 <= (0 < f);
14 W h = e + g + d;
15 V j = (V) (h[0]) + (V) c;
16 return j;
17 }
18
19 int
20 main (void)
21 {
22 V x = foo ((W) { 3 });
23 for (unsigned i = 0; i < sizeof (x); i++)
24 if (x[i] != 0xff)
25 __builtin_abort ();
26 return 0;
27 }