From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1838 invoked by alias); 10 Jan 2010 22:53:39 -0000 Received: (qmail 1750 invoked by uid 48); 10 Jan 2010 22:53:29 -0000 Date: Sun, 10 Jan 2010 22:53:00 -0000 Message-ID: <20100110225329.1749.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/42681] [4.5 Regression] ICE: in build2_stat, at tree.c:3664 with "-O1 -fgraphite-identity" 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-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-01/txt/msg01175.txt.bz2 ------- Comment #4 from rguenth at gcc dot gnu dot org 2010-01-10 22:53 ------- The proper thing is to convert the pointer to an appropriate TYPE_PRECISION signed type, do the arithmetic on it and after it convert it back to the pointer type. What does CLAST know about overflow issues here btw? The expression looks dubious to me (it reads to me as (7*T_6)%8). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42681