diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2019-01-24 21:48:01 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2019-01-24 21:48:01 +0100 |
commit | 53f2f08b057b6b57b5d8b99db10b63de0634715c (patch) | |
tree | 7683639a9a2979015a7efcd9b91d92cf8cb3caea /gcc/rtl.h | |
parent | 83e23dcd562191e102a63f83822848fa5a3a68ea (diff) | |
download | gcc-53f2f08b057b6b57b5d8b99db10b63de0634715c.zip gcc-53f2f08b057b6b57b5d8b99db10b63de0634715c.tar.gz gcc-53f2f08b057b6b57b5d8b99db10b63de0634715c.tar.bz2 |
re PR rtl-optimization/88948 (ICE in elimination_costs_in_insn, at reload1.c:3640 since r264148)
PR target/88948
* rtl.h (prepare_copy_insn): New prototype.
* gcse.c (prepare_copy_insn): New function, split out from
process_insert_insn.
(process_insert_insn): Use prepare_copy_insn.
* store-motion.c (replace_store_insn): Use prepare_copy_insn
instead of gen_move_insn.
testsuite/ChangeLog:
PR target/88948
* gcc.target/i386/pr88948.c: New test.
From-SVN: r268249
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4078,6 +4078,9 @@ extern void init_lower_subreg (void); /* In gcse.c */ extern bool can_copy_p (machine_mode); extern bool can_assign_to_reg_without_clobbers_p (rtx, machine_mode); +extern rtx_insn *prepare_copy_insn (rtx, rtx); + +/* In cprop.c */ extern rtx fis_get_condition (rtx_insn *); /* In ira.c */ |