ira-color.c (move_spill_restore): Add a guard.

2012-05-15  Tristan Gingold  <gingold@adacore.com>

        * ira-color.c (move_spill_restore): Add a guard.

From-SVN: r187500
This commit is contained in:
Tristan Gingold 2012-05-15 07:57:57 +00:00 committed by Tristan Gingold
parent f65e3801ce
commit 094aaeabfd
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2012-05-15 Tristan Gingold <gingold@adacore.com>
* ira-color.c (move_spill_restore): Add a guard.
2012-05-15 Tristan Gingold <gingold@adacore.com>
* config/ia64/ia64.c (ia64_emit_probe_stack_range): Adjust calls to

View File

@ -2941,8 +2941,9 @@ move_spill_restore (void)
copies and the reload pass can spill the allocno set
by copy although the allocno will not get memory
slot. */
|| ira_reg_equiv_invariant_p[regno]
|| ira_reg_equiv_const[regno] != NULL_RTX
|| (regno < ira_reg_equiv_len
&& (ira_reg_equiv_invariant_p[regno]
|| ira_reg_equiv_const[regno] != NULL_RTX))
|| !bitmap_bit_p (loop_node->border_allocnos, ALLOCNO_NUM (a)))
continue;
mode = ALLOCNO_MODE (a);