This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/69184] [6 Regression] ICE in copy_cond_phi_nodes, at graphite-isl-ast-to-gimple.c:2685


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

--- Comment #2 from ktkachov at gcc dot gnu.org ---
Smaller testcase for -Ofast -floop-interchange on aarch64:
int a, b, c, e, f, g;
int d[1];
static int *h = &c;
long i;

int
fn1 (short p1)
{
  return p1 + a;
}

void
fn2 ()
{
  for (; f; f++)
    {
      int *j = &g;
      e = 1;
      for (; e; e++)
        {
          i = b ?: b;
          *j ^= fn1 (d[e]);
          if (*h)
            break;
        }
    }
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]