Commit 094aaeab by Tristan Gingold Committed by Tristan Gingold

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
parent f65e3801
2012-05-15 Tristan Gingold <gingold@adacore.com> 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 * config/ia64/ia64.c (ia64_emit_probe_stack_range): Adjust calls to
plus_constant. plus_constant.
......
...@@ -2941,8 +2941,9 @@ move_spill_restore (void) ...@@ -2941,8 +2941,9 @@ move_spill_restore (void)
copies and the reload pass can spill the allocno set copies and the reload pass can spill the allocno set
by copy although the allocno will not get memory by copy although the allocno will not get memory
slot. */ slot. */
|| ira_reg_equiv_invariant_p[regno] || (regno < ira_reg_equiv_len
|| ira_reg_equiv_const[regno] != NULL_RTX && (ira_reg_equiv_invariant_p[regno]
|| ira_reg_equiv_const[regno] != NULL_RTX))
|| !bitmap_bit_p (loop_node->border_allocnos, ALLOCNO_NUM (a))) || !bitmap_bit_p (loop_node->border_allocnos, ALLOCNO_NUM (a)))
continue; continue;
mode = ALLOCNO_MODE (a); mode = ALLOCNO_MODE (a);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment