vect: Fix vect_reduction_def check for odd/even widen mult [PR116142]
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr67769.c
blobc1d17c3f3db89f0078f84a11012d6e2ed641fab9
1 /* { dg-do run } */
3 static int
4 clamp (int x, int lo, int hi)
6 return (x < lo) ? lo : ((x > hi) ? hi : x);
9 __attribute__ ((noinline))
10 short
11 foo (int N)
13 short value = clamp (N, 0, 16);
14 return value;
17 int
18 main ()
20 if (foo (-5) != 0)
21 __builtin_abort ();
22 return 0;