This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14750] type-punned pointer causes bad code
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2004 03:09:42 -0000
- Subject: [Bug c/14750] type-punned pointer causes bad code
- References: <20040327035806.14750.lindsayd@cisco.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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