aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr80233.c
blob: eb9b4a47246d37793edcdd340dfc6da9c61f6d04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* PR rtl-optimization/80233 */

int xg;

void
t4 (int o9)
{
  int it;

  if (o9 == 0)
    {
      int fx;

      xg *= it;
      if (xg == 0)
        it /= 0;

      fx = (it != 0) ? (xg < 0) : (xg / o9);
      if (fx != 0)
        xg = 0;
    }
}