Add _FloatN, _FloatNx tests for __builtin_fpclassify.
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr53516.c
blob7f8094d19cdf36bfd5c12261c2f4150c01c4867c
1 /* { dg-do run } */
2 /* { dg-options "-ftree-vectorize -ftree-loop-distribute-patterns" } */
4 extern void abort (void);
6 struct Foo
8 char a : 1;
9 char b : 7;
12 struct Foo x[256];
13 int y[256];
15 void __attribute__((noinline,noclone)) bar (int n)
17 int i;
18 for (i = 0; i < n; ++i)
20 x[i].a = 0;
21 y[i] = 3;
25 int main()
27 x[5].b = 7;
28 bar (256);
29 if (x[5].b != 7)
30 abort ();
31 return 0;