From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11744 invoked by alias); 7 Feb 2011 16:20:33 -0000 Received: (qmail 11733 invoked by uid 22791); 7 Feb 2011 16:20:31 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 Feb 2011 16:20:25 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/47632] [4.6 Regression] ICE: verify_flow_info failed: BB 4 can not throw but has an EH edge with -fnon-call-exceptions -ftrapv and operator new[] 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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.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 Date: Mon, 07 Feb 2011 16:27:00 -0000 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: 2011-02/txt/msg00870.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47632 --- Comment #2 from Richard Guenther 2011-02-07 16:20:17 UTC --- We propagate D.2112_13 into the if, changing that to D.2112_22 != 0 and remove the D.2112_13 def w/o cleaning up EH. [LP 1] D.2112_13 = D.2112_22 + -1; goto ; # SUCC: 6 [100.0%] (fallthru,exec) 5 (eh,exec) ... # BLOCK 6 freq:9700 # PRED: 4 [100.0%] (fallthru,exec) ivtmp.8_12 = ivtmp.8_14 - 1; if (D.2112_13 != -1)