Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / O3-pr87546.c
blob0d3b71474c50a0ceadb4a64723f1dd88ebbf2420
1 #include "tree-vect.h"
3 int a;
4 long b, f;
5 signed char c, g;
6 short int d = 219;
7 int e[64];
9 __attribute__((noipa)) void
10 foo (void)
12 asm volatile ("" : : "g" (&a), "g" (&d) : "memory");
13 for (c = 0; c < 64; c++)
15 g = d < 0 ? d : d >> a;
16 f = g + b;
17 e[c] = f;
19 if (e[1] != (signed char) d)
20 __builtin_abort ();
23 int
24 main ()
26 check_vect ();
27 foo ();
28 return 0;