Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / pr108947.c
blob2fe2f5c6e5762e8d26a497cee6c3148837223e40
1 /* PR target/108947 */
2 /* { dg-do run } */
3 /* { dg-options "-O2 -fno-forward-propagate -Wno-psabi" } */
5 typedef unsigned short __attribute__((__vector_size__ (2 * sizeof (short)))) V;
7 __attribute__((__noipa__)) V
8 foo (V v)
10 V w = 3 > (v & 3992);
11 return w;
14 int
15 main ()
17 V w = foo ((V) { 0, 9 });
18 if (w[0] != 0xffff || w[1] != 0)
19 __builtin_abort ();
20 return 0;