This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32281] A problem of gcc4.1.0(O3 optimize)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2007 03:41:48 -0000
- Subject: [Bug c++/32281] A problem of gcc4.1.0(O3 optimize)
- References: <bug-32281-14683@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-11 03:41 -------
So packet is char*, and you are accessing it as uchar*, so this code is
violating C/C++ aliasing rules.
*** This bug has been marked as a duplicate of 21920 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|A problem of gcc4.1.0(O3 |A problem of gcc4.1.0(O3
|optimize) |optimize)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32281