2015-02-20 Vladimir Makarov <vmakarov@redhat.com>
PR target/64172
* ira-color.c (color_pass): Prevent splitting multi-register
pseudos.
From-SVN: r220877
+2015-02-20 Vladimir Makarov <vmakarov@redhat.com>
+
+ PR target/64172
+ * ira-color.c (color_pass): Prevent splitting multi-register
+ pseudos.
+
2015-02-20 Richard Biener <rguenther@suse.de>
PR tree-optimization/65136
&& (loop_tree_node->reg_pressure[pclass]
<= ira_class_hard_regs_num[pclass]))
|| (pic_offset_table_rtx != NULL
- && regno == (int) REGNO (pic_offset_table_rtx)))
+ && regno == (int) REGNO (pic_offset_table_rtx))
+ /* Avoid overlapped multi-registers. Moves between them
+ might result in wrong code generation. */
+ || (hard_regno >= 0
+ && ira_reg_class_max_nregs[pclass][mode] > 1))
{
if (! ALLOCNO_ASSIGNED_P (subloop_allocno))
{