summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr90402-1.c
blob: c4bd8945ed5c501b9951106afea4e1578efb8584 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-do compile } */
/* { dg-additional-options "-mavx" { target x86_64-*-* i?86-*-* } } */

int kn, ha;

int
c7 (void)
{
}

void
ul (int w3)
{
  kn = c7 ();

  while (w3 < 1)
    {
      ha += !!kn ? 1 : w3;

      for (kn = 0; kn < 2; ++kn)
	{
	}

      ++w3;
    }
}