From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8820 invoked by alias); 26 Mar 2007 16:57:12 -0000 Received: (qmail 8781 invoked by uid 48); 26 Mar 2007 16:57:02 -0000 Date: Mon, 26 Mar 2007 16:57:00 -0000 Message-ID: <20070326165702.8780.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug tree-optimization/31345] [4.3 Regression] ICE in set_value_range, at tree-vrp.c:269 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ian at airs 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: 2007-03/txt/msg02472.txt.bz2 ------- Comment #4 from ian at airs dot com 2007-03-26 17:57 ------- I'm continuing to look into the best way to avoid the compiler crash. I want to note that this code is being clobbered by undefined signed overflow. Computing (19780211 + [-128,127]) * 43321879 is always going to overflow, so VRP is converting that into hash = INT_MAX. That is almost certainly not what is intended. This is independent of my -Wstrict-overflow work, although my -Wstrict-overflow work is indeed causing the compiler crash. -- ian at airs dot com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |ian at airs dot com |dot org | Status|NEW |ASSIGNED Last reconfirmed|2007-03-25 12:37:51 |2007-03-26 17:57:02 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31345