https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112870
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is all undefined behavior.
Please read https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/Labels-as-Values.html
.
Specifically:
You may not use this mechanism to jump to code in a different function.