[Bug c/14750] type-punned pointer causes bad code

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Sun Mar 28 03:09:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-03-28 03:09 -------
JSM, what about rewording the message to make it clearer? Something 
like: "derefering type-punned pointer will break strict-aliasing rules, and 
might generate invalid code" or something like that. An explicit reference to 
the wrong-code problem might help.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giovannibajo at libero dot
                   |                            |it, jsm at polyomino dot org
                   |                            |dot uk


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



More information about the Gcc-bugs mailing list