From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12033 invoked by alias); 28 Mar 2006 13:33:07 -0000 Received: (qmail 12013 invoked by uid 48); 28 Mar 2006 13:33:05 -0000 Date: Tue, 28 Mar 2006 13:33:00 -0000 Message-ID: <20060328133305.12012.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/26763] [4.1 Regression] wrong final value of induction variable calculated In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-03/txt/msg02724.txt.bz2 List-Id: ------- Comment #5 from rguenth at gcc dot gnu dot org 2006-03-28 13:33 ------- We had this some time ago, but the discussion stopped at the point where people said that pointers do not wrap. I believe that a + -1 is done using unsigned arithmetic, so this may be the bug. I also know where the transformation is done as I invented it ;) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26763