view gcc/testsuite/gcc.dg/tree-ssa/ifc-pr71683.c @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* { dg-do compile } */
/* { dg-options "-Ofast" { target *-*-* } } */

short unsigned int ve;

void
u1 (void)
{
  int oq = 0;

  while (ve != 0)
    {
      int j4, w7 = oq;

      oq = 0 / oq;
      ve %= oq;
      j4 = ve ^ 1;
      ve ^= oq;
      if (j4 != 0 ? j4 : ve)
        oq = ve;
      else
        if (w7 != 0)
          oq = ve;
    }
}