aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/pr92085-2.c
blob: f62585c2f0fe5d82f9f81ec5e6b2954b1bb0f503 (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
27
28
29
/* { dg-do compile } */
/* { dg-options "-O1 -ftree-loop-vectorize -fno-tree-dce -fno-tree-sink -w" } */

int a8;

void
c1 (int oz, int dk, int ub)
{
  int *hd = 0;
  long int *th = &dk;

  while (ub < 1)
    {
      oz || dk;
      ++ub;
    }

  while (oz < 2)
    {
      long int *lq = &oz;

      (*hd < (*lq = *th)) < oz;

      if (oz == 0)
        *th = a8 = oz;

      *lq = 0;
    }
}