Commit 76763a6d by Vladimir Makarov Committed by Vladimir Makarov

re PR rtl-optimization/48331 (gcc.c-torture/execute/built-in-setjmp.c FAILs with…

re PR rtl-optimization/48331 (gcc.c-torture/execute/built-in-setjmp.c FAILs with -O -fira-algorithm=priority -fPIC)

2011-03-29  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimization/48331
	PR rtl-optimization/48334
	* ira-color.c (color_allocnos): Call setup_profitable_hard_regs
	for any used algorithm.

From-SVN: r171699
parent ea61eea7
2011-03-29 Vladimir Makarov <vmakarov@redhat.com> 2011-03-29 Vladimir Makarov <vmakarov@redhat.com>
PR rtl-optimization/48331
PR rtl-optimization/48334
* ira-color.c (color_allocnos): Call setup_profitable_hard_regs
for any used algorithm.
2011-03-29 Vladimir Makarov <vmakarov@redhat.com>
* ira-conflicts.c (build_object_conflicts): Add unused attribute * ira-conflicts.c (build_object_conflicts): Add unused attribute
to parent_max. to parent_max.
......
...@@ -2590,6 +2590,7 @@ color_allocnos (void) ...@@ -2590,6 +2590,7 @@ color_allocnos (void)
bitmap_iterator bi; bitmap_iterator bi;
ira_allocno_t a; ira_allocno_t a;
setup_profitable_hard_regs ();
if (flag_ira_algorithm == IRA_ALGORITHM_PRIORITY) if (flag_ira_algorithm == IRA_ALGORITHM_PRIORITY)
{ {
n = 0; n = 0;
...@@ -2642,7 +2643,6 @@ color_allocnos (void) ...@@ -2642,7 +2643,6 @@ color_allocnos (void)
} }
else else
{ {
setup_profitable_hard_regs ();
form_object_hard_regs_nodes_forest (); form_object_hard_regs_nodes_forest ();
if (internal_flag_ira_verbose > 2 && ira_dump_file != NULL) if (internal_flag_ira_verbose > 2 && ira_dump_file != NULL)
print_hard_regs_forest (ira_dump_file); print_hard_regs_forest (ira_dump_file);
......
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