From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19718 invoked by alias); 29 Jan 2013 09:39:18 -0000 Received: (qmail 18219 invoked by uid 48); 29 Jan 2013 09:39:00 -0000 From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/55270] [4.8 Regression] ICE in get_loop_body, at cfgloop.c:823 Date: Tue, 29 Jan 2013 09:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mpolacek 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: 2013-01/txt/msg02635.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55270 --- Comment #12 from Marek Polacek 2013-01-29 09:38:59 UTC --- (In reply to comment #11) > I'll test an alternative patch. FYI, I've tried this one: --- a/gcc/loop-init.c +++ b/gcc/loop-init.c @@ -57,6 +57,7 @@ loop_optimizer_init (unsigned flags) /* Ensure that the dominators are computed, like flow_loops_find does. */ calculate_dominance_info (CDI_DOMINATORS); + fix_loop_structure (NULL); #ifdef ENABLE_CHECKING verify_loop_structure (); it cures this ICE, and was even successfully regtested.