From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31495 invoked by alias); 23 May 2011 16:24:46 -0000 Received: (qmail 31475 invoked by uid 22791); 23 May 2011 16:24:44 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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, 23 May 2011 16:24:29 +0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/49007] ICE in extract_true_false_edges_from_block at tree-cfg.c:7379 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: danglin at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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, 23 May 2011 16:28: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-05/txt/msg02086.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49007 --- Comment #14 from John David Anglin 2011-05-23 15:57:49 UTC --- This is how insn 433 is deleted: Breakpoint 14, delete_insn (insn=0x1ba9c60) at ../../gcc/gcc/cfgrtl.c:110 110 rtx next = NEXT_INSN (insn); (gdb) bt #0 delete_insn (insn=0x1ba9c60) at ../../gcc/gcc/cfgrtl.c:110 #1 0x002775b7 in delete_related_insns (insn=0x1ba9c60) at ../../gcc/gcc/jump.c:1137 #2 0x0027789a in delete_related_insns (insn=0x1ba1390) at ../../gcc/gcc/jump.c:1228 #3 0x00277e42 in redirect_jump_2 (jump=0x1ba9cc0, olabel=0x1ba1390, nlabel=0x1bac660, delete_unused=1, invert=0) at ../../gcc/gcc/jump.c:1430 #4 0x00277cfc in redirect_jump (jump=0x1ba9cc0, nlabel=0x1bac660, delete_unused=1) at ../../gcc/gcc/jump.c:1391 #5 0x00354b3d in reorg_redirect_jump (jump=0x1ba9cc0, nlabel=0x1bac660) at ../../gcc/gcc/reorg.c:1883 #6 0x003578d4 in relax_delay_slots (first=0x1b8a020) at ../../gcc/gcc/reorg.c:3525 #7 0x003581e1 in dbr_schedule (first=0x1b8a020) at ../../gcc/gcc/reorg.c:3894 #8 0x003589ba in rest_of_handle_delay_slots () at ../../gcc/gcc/reorg.c:4066 #9 0x002e3e22 in execute_one_pass (pass=0x634340) at ../../gcc/gcc/passes.c:1122 #10 0x002e3fd9 in execute_pass_list (pass=0x634340) at ../../gcc/gcc/passes.c:1176 #11 0x002e3ff5 in execute_pass_list (pass=0x633b80) at ../../gcc/gcc/passes.c:1177 #12 0x002e3ff5 in execute_pass_list (pass=0x633b40) at ../../gcc/gcc/passes.c:1177 #13 0x003f6ba7 in tree_rest_of_compilation (fndecl=0x1276ee0) at ../../gcc/gcc/tree-optimize.c:404 #14 0x00533c4c in cgraph_expand_function (node=0x156b280) at ../../gcc/gcc/cgraphunit.c:1166 #15 0x00533e08 in cgraph_expand_all_functions () at ../../gcc/gcc/cgraphunit.c:1229 #16 0x0053445b in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1436 #17 0x00015f5f in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:8099 #18 0x003a7942 in compile_file () at ../../gcc/gcc/toplev.c:1055 #19 0x003a9902 in do_compile () at ../../gcc/gcc/toplev.c:2244 #20 0x003a997a in toplev_main (argc=27, argv=0xbffff1c8) at ../../gcc/gcc/toplev.c:2276 #21 0x00081cab in main (argc=27, argv=0xbffff1c8) at ../../gcc/gcc/main.c:35 (gdb) p debug_rtx (insn) (insn 433 91 64 (use (insn/s 92 59 366 (set (reg/v:SI 4 %r4 [orig:111 i ] [111]) (const_int 2 [0x2])) 37 {*pa.md:2542} (expr_list:REG_EQUAL (const_int 2 [0x2]) (nil)))) -1 (nil)) $61 = void