* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / graphite / id-pr46845.c
blob45807217b79c25cee1e5d5019e45649b54b3b25f
1 /* { dg-options "-O2 -ffast-math -fgraphite-identity -w -Wno-psabi" { target { i?86-*-* x86_64-*-* powerpc*-*-* } } } */
3 typedef float V2SF __attribute__ ((vector_size (128)));
5 V2SF
6 foo (int x, V2SF a)
8 V2SF b;
9 if (x & 42)
10 b = a;
11 else
12 b = a + (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f};
13 while (x--)
14 a += b;
16 return a;