Fix over-widening handling of COND_EXPRs (PR 86749)
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / pr86749.c
blob803bcb0c620bd744067a85e882caa2d43292fc68
1 /* { dg-additional-options "-O3" } */
3 #include "tree-vect.h"
5 short a, b, f, g;
6 int c = 4, d, e = -1L;
7 long h = 4;
9 int
10 main ()
12 check_vect ();
14 long i;
15 for (; d <= 55; d++)
17 g = c >= 2 ? 0 : b << c;
18 f = g - a;
19 i = (f ^ 9223372036854775807) < 0 ? f : h;
20 e &= i;
22 if (e != 4)
23 __builtin_abort ();
25 return 0;