diff options
author | Steve Ellcey <sje@cup.hp.com> | 2007-07-02 17:15:35 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2007-07-02 17:15:35 +0000 |
commit | 0574253001d8d35567dd040a29d51e266b708f1c (patch) | |
tree | 12b97c3fae907796754cdf777a549715f8143d12 /gcc/haifa-sched.c | |
parent | f6b55636d8122da3a6a085844ced67f39ee79d7f (diff) | |
download | gcc-0574253001d8d35567dd040a29d51e266b708f1c.tar.gz |
re PR target/31684 (ICE in get_attr_first_insn, at config/ia64/itanium2.md:1839 at -O2)
PR target/31684
* haifa-sched.c (add_to_speculative_block): Change copy_rtx to
copy_insn.
Co-Authored-By: James E Wilson <wilson@specifixinc.com>
From-SVN: r126216
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index bf017e88495..809d93417df 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -3358,7 +3358,7 @@ add_to_speculative_block (rtx insn) rec = BLOCK_FOR_INSN (check); - twin = emit_insn_before (copy_rtx (PATTERN (insn)), BB_END (rec)); + twin = emit_insn_before (copy_insn (PATTERN (insn)), BB_END (rec)); extend_global (twin); copy_deps_list_change_con (INSN_RESOLVED_BACK_DEPS (twin), |