https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81223
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Slightly cleaned up testcase: void bar (); void foo (int x) { struct S { char a[x]; } v; bar (v); } Marek, your patch is preapproved with this testcase if it passes bootstrap/regtest.