Re: Fix find_moveable_pseudos, PR52997

2012-05-02 Thread Ulrich Weigand
Bernd Schmidt wrote: > On 04/27/2012 06:25 PM, Ulrich Weigand wrote: > > Bernd Schmidt wrote: > > > >> We're creating new pseudos, and while we're resizing some data > >> structures, we aren't doing it for everything. > > > >> @@ -3983,7 +3983,8 @@ find_moveable_pseudos (void) > >> > >> last_mo

Re: Fix find_moveable_pseudos, PR52997

2012-05-01 Thread Richard Sandiford
Bernd Schmidt writes: > * 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

Re: Fix find_moveable_pseudos, PR52997

2012-04-30 Thread Pat Haugen
On 04/28/2012 09:56 AM, Bernd Schmidt wrote: The problem is that resize_reg_info only resizes the data structure, but leaves it uninitialized. Argh. Something like this maybe (currently testing on i686-linux, ok if it passes?) That patch cleans up the SPEC build failures I was seeing and a

Re: Fix find_moveable_pseudos, PR52997

2012-04-28 Thread Bernd Schmidt
On 04/27/2012 06:25 PM, Ulrich Weigand wrote: Bernd Schmidt wrote: We're creating new pseudos, and while we're resizing some data structures, we aren't doing it for everything. @@ -3983,7 +3983,8 @@ find_moveable_pseudos (void) last_moveable_pseudo = max_reg_num (); - fix_reg_equiv_in

Re: Fix find_moveable_pseudos, PR52997

2012-04-27 Thread Ulrich Weigand
Bernd Schmidt wrote: > We're creating new pseudos, and while we're resizing some data > structures, we aren't doing it for everything. > @@ -3983,7 +3983,8 @@ find_moveable_pseudos (void) > >last_moveable_pseudo = max_reg_num (); > > - fix_reg_equiv_init(); > + fix_reg_equiv_init (); >

Fix find_moveable_pseudos, PR52997

2012-04-26 Thread Bernd Schmidt
We're creating new pseudos, and while we're resizing some data structures, we aren't doing it for everything. Bootstrapped and tested on i686-linux, committed as obvious. Bernd Index: ChangeLog === --- ChangeLog (revision 186874)