From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27068 invoked by alias); 21 Mar 2007 09:05:37 -0000 Received: (qmail 27012 invoked by uid 48); 21 Mar 2007 09:05:26 -0000 Date: Wed, 21 Mar 2007 09:05:00 -0000 Message-ID: <20070321090526.27011.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/31227] [4.3 Regression] -Warray-bounds doesn't play together with loop optimizations In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mueller 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-03/txt/msg02018.txt.bz2 ------- Comment #3 from mueller at gcc dot gnu dot org 2007-03-21 09:05 ------- both are caused by our well known offender -fivopts. the problem why the existing workarounds don't work is because the adress is first converted to unsigned int before +/- modification is done. the traversal stops at the type conversion. I'm currently working on fixing that. -- mueller at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |mueller at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31227