re PR rtl-optimization/88845 (ICE in lra_set_insn_recog_data, at lra.c:1010)
authorPeter Bergner <bergner@linux.ibm.com>
Wed, 6 Mar 2019 15:36:43 +0000 (15:36 +0000)
committerPeter Bergner <bergner@gcc.gnu.org>
Wed, 6 Mar 2019 15:36:43 +0000 (09:36 -0600)
commit2713e5db399787c5937856c503a924470ec372b8
tree101bd30017ea4d1f3ae1f8ca359904973443ab7f
parentec2de569275fe76e9f7e4ca931e987be5638359f
re PR rtl-optimization/88845 (ICE in lra_set_insn_recog_data, at lra.c:1010)

gcc/
PR rtl-optimization/88845
* config/rs6000/rs6000.c (rs6000_emit_move_si_sf_subreg): Enable during
LRA.
* lra.c (remove_scratches_1): New function.
(remove_scratches): Use it.
(lra_emit_move): Likewise.

gcc/testsuite/
PR rtl-optimization/88845
* gcc.target/powerpc/pr88845.c: New test.

From-SVN: r269428
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/lra.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr88845.c [new file with mode: 0644]