[Bug tree-optimization/95897] [11 regression] gfortran.dg/graphite/pr40982.f90 fails with ICE starting with r11-1649

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 26 07:09:23 GMT 2020


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Testcase that also triggers on x86_64 and without graphite:

double foo (double x, int n)
{
  double s = 0.;
  for (int i = 0; i < n; ++i)
    {
      s += x;
      s += x;
      s += x;
    }
  return s;
}


More information about the Gcc-bugs mailing list