ira.c (allocated_reg_info_size): New static variable.
authorBernd Schmidt <bernds@codesourcery.com>
Tue, 1 May 2012 16:34:26 +0000 (16:34 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Tue, 1 May 2012 16:34:26 +0000 (16:34 +0000)
commitfb99ee9ba67fd5e7554036f9eced8bc9985e9779
treefac3de40d168869175a365542774f52d8b14f3d9
parent483104922ad93037381da8f37a8b2bb471799650
ira.c (allocated_reg_info_size): New static variable.

* ira.c (allocated_reg_info_size): New static variable.
(expand_reg_info): Manage it. Call
setup_preferred_alternate_classes_for_new_pseudos.
(ira): Don't do it here.  Remove local allocated_reg_info_size,
set the global before calling find_moveable_pseudos.
(find_moveable_pseudos): Call expand_reg_info rather than
resize_reg_info.

From-SVN: r187019
gcc/ChangeLog
gcc/ira.c