diff options
| -rw-r--r-- | gcc/ChangeLog | 7 | ||||
| -rw-r--r-- | gcc/ira-color.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d43f586..ad483d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 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 to parent_max. diff --git a/gcc/ira-color.c b/gcc/ira-color.c index f7ac594..4e2dd2c 100644 --- a/gcc/ira-color.c +++ b/gcc/ira-color.c @@ -2590,6 +2590,7 @@ color_allocnos (void) bitmap_iterator bi; ira_allocno_t a; + setup_profitable_hard_regs (); if (flag_ira_algorithm == IRA_ALGORITHM_PRIORITY) { n = 0; @@ -2642,7 +2643,6 @@ color_allocnos (void) } else { - setup_profitable_hard_regs (); form_object_hard_regs_nodes_forest (); if (internal_flag_ira_verbose > 2 && ira_dump_file != NULL) print_hard_regs_forest (ira_dump_file); |
