openmp: Fix signed/unsigned warning
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / bb-slp-pr101207.c
blob554255e72badcb6cd5839092be08637a1b63409d
1 /* { dg-additional-options "-ffast-math" } */
3 #include "tree-vect.h"
5 double a[2];
6 double x, y;
8 void __attribute__((noipa)) foo ()
10 x = a[1] - a[0];
11 y = a[0] + a[1];
14 int main()
16 check_vect ();
18 a[0] = 0.;
19 a[1] = 1.;
20 foo ();
21 if (x != 1. || y != 1.)
22 __builtin_abort ();
23 return 0;