* ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
computation for prologue/epilogue.
From-SVN: r171154
+2011-03-18 Georg-Johann Lay <avr@gjlay.de>
+
+ * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
+ computation for prologue/epilogue.
+
2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* Makefile.in (check-consistency): Remove.
(--with-plugin-ld): Document.
* doc/invoke.texi (-fuse-linker-plugin): Clarify.
-2011-03-16 Andrew Pinski <pinskia@gmail.com>
+2011-03-18 Andrew Pinski <pinskia@gmail.com>
PR middle-end/47790
* expr.c (optimize_bitfield_assignment_op): Revamp to work
full_cost = full_costs[i];
#ifndef HONOR_REG_ALLOC_ORDER
if (! allocated_hardreg_p[hard_regno]
- && ira_hard_reg_not_in_set_p (hard_regno, mode, call_used_reg_set))
+ && ira_hard_reg_not_in_set_p (hard_regno, mode, call_used_reg_set)
+ && !LOCAL_REGNO (hard_regno))
/* We need to save/restore the hard register in
epilogue/prologue. Therefore we increase the cost. */
{