From: Vladimir Makarov Date: Tue, 29 Mar 2011 20:51:14 +0000 (+0000) Subject: re PR rtl-optimization/48331 (gcc.c-torture/execute/built-in-setjmp.c FAILs with... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76763a6d3f5a93616c92e089a2391611319650a0;p=gcc.git 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 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d43f586f0b0..ad483d3cdb1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2011-03-29 Vladimir Makarov + + 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 * ira-conflicts.c (build_object_conflicts): Add unused attribute diff --git a/gcc/ira-color.c b/gcc/ira-color.c index f7ac59475f7..4e2dd2ca109 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);