summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr78384.c
blob: d93437dd26c17a03ae2fb7e4a19d87cd0b3845de (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
/* PR tree-optimization/78384
   { dg-do compile }
   { dg-options "-O3 -w -fsplit-loops" } */
void
a2 (int wv, int yg, int r9)
{
  while (wv < 1)
    {
      int vn = r9 % 0;

      while (yg < 1)
        {
          int lz;

          for (r9 = 0; r9 < 17; ++r9)
            {
            }

 it:
          lz = (yg++ >= 0) ? 2 : 0;
          wv = vn < lz;
        }
    }
  goto it;
}