From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19411 invoked by alias); 2 Sep 2012 12:44:32 -0000 Received: (qmail 19402 invoked by uid 22791); 2 Sep 2012 12:44:31 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_ZJ 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; Sun, 02 Sep 2012 12:44:19 +0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/54455] [4.7/4.8 Regression] ICE: RTL check: expected elt 3 type 'B', have '0' (rtx barrier) in compute_bb_for_insn, at cfgrtl.c:418 Date: Sun, 02 Sep 2012 12:44: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: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.2 X-Bugzilla-Changed-Fields: Status URL AssignedTo 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-09/txt/msg00086.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54455 Uros Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW URL|http://gcc.gnu.org/ml/gcc-p | |atches/2012-09/msg00031.htm | |l | AssignedTo|ubizjak at gmail dot com |unassigned at gcc dot | |gnu.org --- Comment #6 from Uros Bizjak 2012-09-02 12:44:18 UTC --- (In reply to comment #5) > (In reply to comment #4) > > > (jump_insn 30 29 31 3 (simple_return) pr54455.c:16 -1 > > (nil) > > -> simple_return) > > > > This should be BB_END(BASIC_BLOCK(3)). If it's not then someone forgot to > update the basic block boundaries at some point. (gdb) p debug_bb_n_slim (3) basic block 3, loop depth 0 pred: 2 L9: 10 NOTE_INSN_BASIC_BLOCK 11: ax=0x1 12: dx=0x2 28 NOTE_INSN_EPILOGUE_BEG 29: bp=[sp++] REG_CFA_DEF_CFA: sp+0x8 30: jump simple_return i 31: barrier succ: EXIT This is now beyond my RTL-optimization fu.