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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
extern void foo (void);

static inline int
bar (int n)
{
  for (int i = 0; i < n; i++)
    {
      foo ();
      int y[1][i];
      y[n][i] = 0;
    }
}

int
baz (void)
{
  return bar (5);
}

Reply via email to