2012-05-15 Tristan Gingold <gingold@adacore.com>
* ira-color.c (move_spill_restore): Add a guard.
From-SVN: r187500
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
plus_constant.
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);