aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr106099.c
blob: 01b11442b2f362347c1d8bc14ca5e97c54a82683 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR tree-optimization/106099 */
/* { dg-do compile } */
/* { dg-options "-O -fharden-compares -fno-tree-forwprop -fno-tree-ch -fno-tree-dominator-opts -fno-tree-ccp -funreachable-traps --param=scev-max-expr-size=1" } */

void
foo (void)
{
  for (unsigned i = 0; i == 0; i++)
    __builtin_printf ("%d", i);
}