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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced C testcase:
int f(int t)
{
  struct s{int y[t];};
  struct s u;
  return u.y[0];
}

Compile with -ftrivial-auto-var-init=pattern .

Reply via email to