2013-05-10 Vladimir Makarov <vmakarov@redhat.com>
* lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call
saved registers.
From-SVN: r198792
+2013-05-10 Vladimir Makarov <vmakarov@redhat.com>
+
+ * lra-assigns.c (find_hard_regno_for): Add 1 to the cost of call
+ saved registers.
+
2013-05-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib.
&& ! df_regs_ever_live_p (hard_regno + j))
/* It needs save restore. */
hard_regno_costs[hard_regno]
- += 2 * ENTRY_BLOCK_PTR->next_bb->frequency;
+ += 2 * ENTRY_BLOCK_PTR->next_bb->frequency + 1;
priority = targetm.register_priority (hard_regno);
if (best_hard_regno < 0 || hard_regno_costs[hard_regno] < best_cost
|| (hard_regno_costs[hard_regno] == best_cost