re PR target/79131 (ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM)
authorVladimir Makarov <vmakarov@redhat.com>
Thu, 26 Jan 2017 17:08:12 +0000 (17:08 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Thu, 26 Jan 2017 17:08:12 +0000 (17:08 +0000)
commit15961e4a1bbd3ddd2a4ebe09aad07aa6541ed321
tree3ba1dafb844c589e276e71d31cb9c17653dce0c5
parentb63144aa0fce12fb94e3655bc04017e619f1dfa6
re PR target/79131 (ICE: in extract_constrain_insn, at recog.c:2213, big-endian ARM)

2017-01-26  Vladimir Makarov  <vmakarov@redhat.com>

PR target/79131
* lra-assigns.c (setup_live_pseudos_and_spill_after_risky): Take
endianess for subregs into account.
* lra-constraints.c (lra_constraints): Do risky transformations
always on the first iteration.
* lra-lives.c (check_pseudos_live_through_calls): Add arg
last_call_used_reg_set.
(process_bb_lives): Define and use last_call_used_reg_set.
* lra.c (lra): Always continue after lra_constraints on the first
iteration.

2017-01-26  Vladimir Makarov  <vmakarov@redhat.com>

PR target/79131
* gcc.target/arm/pr79131.c: New.

From-SVN: r244942
gcc/ChangeLog
gcc/lra-assigns.c
gcc/lra-constraints.c
gcc/lra-lives.c
gcc/lra.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr79131.c [new file with mode: 0644]