re PR rtl-optimization/92796 (ICE in lra_assign, at lra-assigns.c:1646 on powerpc64le...
authorVladimir Makarov <vmakarov@redhat.com>
Tue, 10 Dec 2019 22:07:57 +0000 (22:07 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Tue, 10 Dec 2019 22:07:57 +0000 (22:07 +0000)
commit7436a1c6750d1d45487f666da94808f5b06d5ffd
tree75b58a637f57ab78d67ca56bb89c2da702305d23
parent0cc063af32311944d66b6537aeade08038cabba9
re PR rtl-optimization/92796 (ICE in lra_assign, at lra-assigns.c:1646 on powerpc64le-linux-gnu)

2019-12-10  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/92796
* lra-int.h (lra_risky_transformations_p): Rename to
check_and_force_assignment_correctness_p.
* lra-assigns.c: Ditto.
(lra_assign): Reset check_and_force_assignment_correctness_p.
* lra-constraints.c (lra_risky_transformations_p): Rename to
check_and_force_assignment_correctness_p.
(lra_constraints): Set up check_and_force_assignment_correctness_p
only for the 1st sub-pass.
* lra-eliminations.c (process_insn_for_elimination): Set up
check_and_force_assignment_correctness_p if the insn chnaged its
code.

2019-12-10  Vladimir Makarov  <vmakarov@redhat.com>

PR rtl-optimization/92796
* gcc.target/powerpc/pr92796.c: New test.

From-SVN: r279204
gcc/ChangeLog
gcc/lra-assigns.c
gcc/lra-constraints.c
gcc/lra-eliminations.c
gcc/lra-int.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr92796.c [new file with mode: 0644]