aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr61140.c
blob: 2f175cb7e2dc337924e888044d8716e011a23d3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* { dg-do run } */
/* { dg-options "-O2" } */

int a[1] = { 1 }, b = 1, c; 

int
main ()
{
  for (; c < 1; c++)
    if (a[0])
    {
      a[0] &= 1;
      b = 0;
    }
  if (b)
    __builtin_abort ();
  return 0;
}