re PR rtl-optimization/88948 (ICE in elimination_costs_in_insn, at reload1.c:3640...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 24 Jan 2019 20:48:01 +0000 (21:48 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 24 Jan 2019 20:48:01 +0000 (21:48 +0100)
commit53f2f08b057b6b57b5d8b99db10b63de0634715c
tree7683639a9a2979015a7efcd9b91d92cf8cb3caea
parent83e23dcd562191e102a63f83822848fa5a3a68ea
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
gcc/ChangeLog
gcc/gcse.c
gcc/rtl.h
gcc/store-motion.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr88948.c [new file with mode: 0644]