re PR target/84876 (ICE on invalid code in lra_assign at gcc/lra-assigns.c:1601 since...
authorVladimir Makarov <vmakarov@redhat.com>
Fri, 16 Mar 2018 18:48:26 +0000 (18:48 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Fri, 16 Mar 2018 18:48:26 +0000 (18:48 +0000)
commit7293e3f58edb7535d826c85160b9fa6d4132ffea
treee912a6237dfa23ea59dabc33b01717104a47b0ba
parentc011faee33f1f52a28b561d6879b253ddc86c9a4
re PR target/84876 (ICE on invalid code in lra_assign at gcc/lra-assigns.c:1601 since r258504)

2018-03-16  Vladimir Makarov  <vmakarov@redhat.com>

PR target/84876
* lra-assigns.c (lra_split_hard_reg_for): Don't use
regno_allocno_class_array and sorted_pseudos.
* lra-constraints.c (spill_hard_reg_in_range): Ignore hard regs in
insns where regno is used.

2018-03-16  Vladimir Makarov  <vmakarov@redhat.com>

PR target/84876
* gcc.target/i386/pr84876.c: New test.

From-SVN: r258602
gcc/ChangeLog
gcc/lra-assigns.c
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84876.c [new file with mode: 0644]