aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr58921.c
blob: 7d7c98514d484dd9da6477b26054a37fb4ad358f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do compile } */

int a[7];
int b;

void
fn1 ()
{
  for (; b; b++)
    a[b] = ((a[b] <= 0) == (a[0] != 0));
}

int
main ()
{
  return 0;
}