[Bug c++/55468] Label value to incorrect destination

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 26 08:56:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55468

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-26 08:56:22 UTC ---
Labels as values are only designed and will only work with computed gotos.  Any
other use is an undefined use of them.

The actual labels are moved around just like any other label would be and will
be place at random places in the code if not used with computed gotos.



More information about the Gcc-bugs mailing list