[Bug rtl-optimization/69161] [6 Regression] ICE in simplify_const_unary_operation, at simplify-rtx.c:1633

ktkachov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 8 13:41:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69161

--- Comment #9 from ktkachov at gcc dot gnu.org ---
You're right, thanks.
char a;
int b, c, d, e;

void
foo (void)
{
  int f;
  for (f = 0; f <= 4; f++)
    {
      for (d = 0; d < 20; d++)
        {
          long g = &c;
          b &= (0 != g) > e;
        }
      e &= a;
    }
}

Replacing the "long g = &c;"
with "int g = &c;" unfortunately doesn't reproduce the ICE


More information about the Gcc-bugs mailing list