From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8401 invoked by alias); 12 Nov 2012 16:23:45 -0000 Received: (qmail 8367 invoked by uid 48); 12 Nov 2012 16:23:29 -0000 From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/55281] [4.8 Regression] ICE in build_int_cst_wide, at tree.c:1217 (with Ofast, ok with O3) Date: Mon, 12 Nov 2012 16:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-11/txt/msg01035.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55281 --- Comment #6 from Jakub Jelinek 2012-11-12 16:23:29 UTC --- I'm just testing that, so I know it doesn't have side-effects. COND_EXPR handling which I've copied was doing the same thing. The reason for the fold-const.c change was that while you handle that case in forwprop, it only triggers if forwprop actually simplifies the condition, but if e.g. copyprop does that, then nothing will fix it up afterwards till expansion.