re PR target/65647 (GCC won't stop when compile for armv6-m)
authorVladimir Makarov <vmakarov@redhat.com>
Sat, 4 Apr 2015 14:35:59 +0000 (14:35 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Sat, 4 Apr 2015 14:35:59 +0000 (14:35 +0000)
commit9444692807a1129fd562281e911c550472434219
treecc574b4eb2853d00fe21a06d5c86561ed8401c46
parent30c5a937e19ac28dbb6d023516af9c1b902614aa
re PR target/65647 (GCC won't stop when compile for armv6-m)

2015-04-04  Vladimir Makarov  <vmakarov@redhat.com>

PR target/65647
* lra-int.h (LRA_MAX_REMATERIALIZATION_PASSES): New.  Add its
value checking.
(lra_rematerialization_iter): New.
* lra.c (lra): Initialize lra_rematerialization_iter.
Stop updating lra_constraint_new_regno_start after switching of
inheritance and rematerialization.
* lra-remat.c (lra_rematerialization_iter): New.
(lra_remat): Add printing pass iteration.  Do rematerialization
only first LRA_MAX_REMATERIALIZATION_PASSES iterations.

2015-04-04  Vladimir Makarov  <vmakarov@redhat.com>

PR target/65647
* gcc.target/arm/pr65647.c: New.

From-SVN: r221867
gcc/ChangeLog
gcc/lra-int.h
gcc/lra-remat.c
gcc/lra.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/pr65647.c [new file with mode: 0644]