https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122835
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #11 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 62898
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=62898&action=edit
gcc16-pr122835.patch
Untested fix.
Though, guess this opens a can of worms, shall we also diagnose asm goto in C++
if it (maybe) jumps across some variable declaration which doesn't have vacuous
initialization, like we do for gotos? Shall it be treated like a (maybe) goto
also in the r16-4212 C++26 changes?