Corrected date in changelog
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-convminconv-1.c
blobf4a048e1f45031c1b9e75259870e78274594bf70
1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
4 int foo (unsigned short a[], unsigned int x)
6 unsigned int i;
7 for (i = 0; i < 1000; i++)
9 x = a[i];
10 a[i] = (x >= 255 ? 255 : x);
12 return x;
15 /* { dg-final { scan-tree-dump-not " = MIN_EXPR <x_\[0-9\]*" "optimized" } } */