https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108085
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, using the C++ front-end, the use-after-scope still happens at -O3 but not with the C front-end.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 02 Feb 2023 11:39:13 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108085
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Hmm, using the C++ front-end, the use-after-scope still happens at -O3 but not with the C front-end.