[Bug c++/48224] ERROR: compile in g++ version 4.5

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Mar 22 10:29:00 GMT 2011


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-22 10:18:49 UTC ---
It's undefined behaviour, that means it might compile, it might not. You can't
rely on any particular behaviour, so don't do it.



More information about the Gcc-bugs mailing list