Commit 6042d1dd by Chung-Lin Tang Committed by Chung-Lin Tang

re PR rtl-optimization/46002 (ICE: in update_copy_costs, at ira-color.c:319 with…

re PR rtl-optimization/46002 (ICE: in update_copy_costs, at ira-color.c:319 with -fira-algorithm=priority)

2011-02-21  Chung-Lin Tang  <cltang@codesourcery.com>

	PR rtl-optimization/46002
	* ira-color.c (update_copy_costs): Change class intersection
	test to reg_class_contents[] test of 'hard_regno'.

From-SVN: r170388
parent d18c88a8
2011-02-21 Chung-Lin Tang <cltang@codesourcery.com>
PR rtl-optimization/46002
* ira-color.c (update_copy_costs): Change class intersection
test to reg_class_contents[] test of 'hard_regno'.
2011-02-21 Joseph Myers <joseph@codesourcery.com>
* config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather
......
......@@ -292,7 +292,8 @@ update_copy_costs (ira_allocno_t allocno, bool decr_p)
gcc_unreachable ();
cover_class = ALLOCNO_COVER_CLASS (another_allocno);
if (! ira_reg_classes_intersect_p[rclass][cover_class]
if (! TEST_HARD_REG_BIT (reg_class_contents[cover_class],
hard_regno)
|| ALLOCNO_ASSIGNED_P (another_allocno))
continue;
......
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