From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26818 invoked by alias); 11 Jun 2007 03:41:58 -0000 Received: (qmail 26746 invoked by uid 48); 11 Jun 2007 03:41:48 -0000 Date: Mon, 11 Jun 2007 03:41:00 -0000 Message-ID: <20070611034148.26745.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/32281] A problem of gcc4.1.0(O3 optimize) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-06/txt/msg00724.txt.bz2 ------- 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