From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5057 invoked by alias); 17 Nov 2010 16:12:23 -0000 Received: (qmail 5046 invoked by uid 22791); 17 Nov 2010 16:12:21 -0000 X-SWARE-Spam-Status: No, hits=-2.8 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; Wed, 17 Nov 2010 16:12:16 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/46522] New: ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7092 with -O3 -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Wed, 17 Nov 2010 16:14: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: 2010-11/txt/msg02230.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46522 Summary: ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7092 with -O3 -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: zsojka@seznam.cz Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Created attachment 22432 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22432 reduced testcase (originally PR45352 comment #19) I am sorry for the amount of compiler flags, removing any of them causes the ICE to disappear. Even manual partial inlining, unrolling, loop unswitching, ... either removes the ICE or doesn't allow me to remove further flags. Flags are either: -O3 -fkeep-inline-functions -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops or -O2 -fkeep-inline-functions -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops -funswitch-loops or -O1 -fcse-follow-jumps -fkeep-inline-functions -fpartial-inlining -freorder-blocks -frerun-cse-after-loop -fschedule-insns2 -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops -funswitch-loops Compiler output: $ gcc -O3 -fkeep-inline-functions -fsel-sched-pipelining -fselective-scheduling2 -funroll-loops pr46522.c pr46522.c: In function 'foo2': pr46522.c:30:1: internal compiler error: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7092 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Tested revisions (for the -O1 case): r166795 - crash r165699 - OK 4.5 - doesn't know -fpartial-inlining