mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-25 03:44:04 +08:00
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
This commit is contained in:
parent
ea61eea7fe
commit
76763a6d3f
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user