public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "steven at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/56957] [4.9 regression] ICE in add_insn_after, at emit-rtl.c:3783 Date: Tue, 16 Apr 2013 20:54:00 -0000 [thread overview] Message-ID: <bug-56957-4-FWYc2NnzBH@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-56957-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56957 Steven Bosscher <steven at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |abel at gcc dot gnu.org AssignedTo|steven at gcc dot gnu.org |unassigned at gcc dot | |gnu.org --- Comment #2 from Steven Bosscher <steven at gcc dot gnu.org> 2013-04-16 20:54:17 UTC --- Breakpoint 5, sel_remove_insn (insn=0x3fffb5da4e78, only_disconnect=false, full_tidying=false) at ../../trunk/gcc/sel-sched-ir.c:3938 3938 delete_insn (insn); 1: debug_rtx(insn) = (insn 303 190 191 10 (set (reg:DF 165 f37 [421]) (unspec:DF [ (mem:DF (reg/f:DI 18 r18 [420]) [2 *a_7(D) S8 A64]) ] UNSPEC_LDA)) 13 {movdf_advanced} (nil)) void (gdb) up #1 0x0000000010843984 in remove_insn_from_stream (insn=0x3fffb5da4e78, only_disconnect=false) at ../../trunk/gcc/sel-sched.c:6042 6042 sel_remove_insn (insn, only_disconnect, false); (gdb) up #2 0x0000000010843af0 in move_op_orig_expr_found (insn=0x3fffb5da4e78, expr=0x115f9fd8, lparams=0x3fffffffda78, static_params=0x3fffffffdaa8) at ../../trunk/gcc/sel-sched.c:6066 6066 remove_insn_from_stream (insn, only_disconnect); gdb) p only_disconnect $19 = false (gdb) l 6060 6055 moveop_static_params_p params = (moveop_static_params_p) static_params; 6056 6057 copy_expr_onside (params->c_expr, INSN_EXPR (insn)); 6058 track_scheduled_insns_and_blocks (insn); 6059 insn_emitted = handle_emitting_transformations (insn, expr, params); 6060 only_disconnect = (params->uid == INSN_UID (insn) 6061 && ! insn_emitted && ! EXPR_WAS_CHANGED (expr)); 6062 6063 /* Mark that we've disconnected an insn. */ 6064 if (only_disconnect) (gdb) p params->uid $20 = 303 (gdb) p insn_emitted $21 = false (gdb) p EXPR_WAS_CHANGED(expr) $22 = true No idea what to make of this. sel-sched deliberately chooses to discard the insn instead of only disconnecting it, but it re-emits the insn later anyway. That's wrong. CC sel-sched guru.
next prev parent reply other threads:[~2013-04-16 20:54 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-04-14 19:40 [Bug rtl-optimization/56957] New: " schwab@linux-m68k.org 2013-04-15 10:12 ` [Bug rtl-optimization/56957] " rguenth at gcc dot gnu.org 2013-04-16 20:22 ` steven at gcc dot gnu.org 2013-04-16 20:35 ` steven at gcc dot gnu.org 2013-04-16 20:54 ` steven at gcc dot gnu.org [this message] 2013-04-16 21:36 ` steven at gcc dot gnu.org 2013-04-17 5:14 ` abel at gcc dot gnu.org 2013-04-17 6:52 ` abel at gcc dot gnu.org 2013-04-18 9:08 ` steven at gcc dot gnu.org 2013-04-18 9:18 ` abel at gcc dot gnu.org 2013-04-22 9:48 ` abel at gcc dot gnu.org 2013-04-25 10:03 ` abel at gcc dot gnu.org 2013-04-30 10:58 ` abel at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-56957-4-FWYc2NnzBH@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).