From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23914 invoked by alias); 16 Mar 2009 08:29:07 -0000 Received: (qmail 23857 invoked by alias); 16 Mar 2009 08:28:56 -0000 Date: Mon, 16 Mar 2009 08:29:00 -0000 Message-ID: <20090316082856.23856.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/39455] [4.3/4.4 Regression] ICE : in compare_values_warnv, at tree-vrp.c:1073 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gmail dot com" 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: 2009-03/txt/msg01075.txt.bz2 ------- Comment #8 from pinskia at gmail dot com 2009-03-16 08:28 ------- Subject: Re: [4.3/4.4 Regression] ICE : in compare_values_warnv, at tree-vrp.c:1073 Sent from my iPhone On Mar 16, 2009, at 1:15 AM, "jakub at gcc dot gnu dot org" wrote: > > > ------- Comment #7 from jakub at gcc dot gnu dot org 2009-03-16 > 08:15 ------- > Reduced testcase: > > /* { dg-do compile } */ > /* { dg-options "-O2 -fprefetch-loop-arrays" } */ > > void > foo (char *x, unsigned long y, unsigned char *z) > { > unsigned int c[256], *d; > > for (d = c + 1; d < c + 256; ++d) > *d += d[-1]; > x[--c[z[y]]] = 0; Hmm. Could this be the char-- bug? Where the front-end/gimplifier does not promote that to int? Thanks, Andrew Pinski > > } > > > -- > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39455 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39455