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

--- Comment #31 from Richard Biener <rguenth at gcc dot gnu.org> ---
The following is a testcase triggering the

      /* FORNOW: outer loop induction with SLP not supported.  */
      if (STMT_SLP_TYPE (stmt_info))
        return false;

test:

double image[40];

void
foo (void)
{
  for (int i = 0; i < 20; i++)
    {
      double suma = 0;
      double sumb = 0;
      for (int j = 0; j < 40; j++)
        {
          suma += j+i;
          sumb += j+i;
        }
      image[2*i] = suma;
      image[2*i+1] = sumb;
    }
}

Reply via email to