[Bug tree-optimization/93586] [10 Regression] wrong code at -O1 on x86_64-linux-gnu

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 5 10:26:00 GMT 2020


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

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Surprisingly we don't CSE in

int __GIMPLE(ssa) foo(int j)
{
  int c[1][10][1];
  int _1;

__BB(2):
  c[0][1][0] = 1;
  c[0][j_2(D)] = _Literal (int[1]) {};
  _1 = c[0][1][0];
  return _1;
}


More information about the Gcc-bugs mailing list