From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23923 invoked by alias); 20 Aug 2010 11:34:26 -0000 Received: (qmail 23862 invoked by uid 48); 20 Aug 2010 11:34:11 -0000 Date: Fri, 20 Aug 2010 11:34:00 -0000 Subject: [Bug rtl-optimization/45353] New: ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with -fselective-scheduling and __builtin_unreachable() X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "zsojka at seznam dot cz" 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-08/txt/msg01654.txt.bz2 Command line: $ gcc -O -fschedule-insns -fselective-scheduling testcase.c Compiler output: $ gcc -O -fschedule-insns -fselective-scheduling testcase.ctestcase.c: In function 'foo': testcase.c:4:1: internal compiler error: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. ----- testcase.c ---- void foo () { __builtin_unreachable (); } --------------------- Current testcases from testsuite, such as gcc.dg/builtin-unreachable-3.c, ICE as well with given flags. Tested revisions: r163371 - crash -- Summary: ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in sel_bb_head, at sel-sched-ir.c:4329 with - fselective-scheduling and __builtin_unreachable() Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45353