------- 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