re PR rtl-optimization/87305 (Segfault in end_hard_regno in setup_live_pseudos_and_sp...
authorVladimir Makarov <vmakarov@redhat.com>
Thu, 10 Jan 2019 21:02:50 +0000 (21:02 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Thu, 10 Jan 2019 21:02:50 +0000 (21:02 +0000)
commit7e4d17a84648b9844a8ddebe88269857ab33f4ab
tree47f1045bd356f4375b22344adfda3e7807680e26
parentf25507d041de4df6fffabedbed57c07ecff0d9ab
re PR rtl-optimization/87305 (Segfault in end_hard_regno in setup_live_pseudos_and_spill_after_risky_transforms on aarch64 big-endian)

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

PR rtl-optimization/87305
* lra-assigns.c
(setup_live_pseudos_and_spill_after_risky_transforms): Check
allocation for big endian pseudos used as paradoxical subregs and
spill them if it is wrong.
* lra-constraints.c (lra_constraints): Add a comment.

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

PR rtl-optimization/87305
* gcc.target/aarch64/pr87305.c: New.

From-SVN: r267823
gcc/ChangeLog
gcc/lra-assigns.c
gcc/lra-constraints.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/pr87305.c [new file with mode: 0644]