[Bug middle-end/106080] Labels as values triggering -Wdangling-pointer

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 24 14:43:06 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106080

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://github.com/ocaml/oc
                   |                            |aml/issues/11358
                URL|https://github.com/ocaml/oc |
                   |aml/issues/11358            |

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Storing local labels in globals might cause issues as you cannot use computed
gotos to jump to it without undefined results so the warning message should be
changed.


More information about the Gcc-bugs mailing list