PR tree-optimization/33562
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr32821.c
blob800ac98577f1f6ec68232814cec72df3a997eeef
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-vectorize -fdump-tree-ifcvt-details" } */
4 void
5 main1 (int *arr, int n, int a, int b)
7 int i;
8 for (i = 0; i < n; i++)
10 int m = arr[i];
11 arr[i] = (m < a ? m - a : b);