https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104449
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- C++ testcase that ICEs with such options even at -O2: void bar (int *); struct A { A (); ~A (); }; void foo (int n) { A b; { int a[n]; bar (a); } }