[patch] Fix SPEC slowdown from function specific branch

Michael Matz matz@suse.de
Thu Apr 8 13:43:00 GMT 2010


Hi,

On Wed, 7 Apr 2010, H.J. Lu wrote:

> > I have no real idea why it had to be moved into optimization_options
> > initially but it's certainly the wrong place.  This fixes the severe SPEC
> > regression from r138154 .
> >
> > regstrapping in progress on i686 and x86_64.  Okay for trunk?
> >
> >
> > Ciao,
> > Michael.
> > --
> >        * i386/i386.c: (override_options): Move initialisation from
> >        flag_schedule_insns_after_reload to here from ...
> >        (optimization_options): ... here.
> >
> 
> This caused:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43671

As written in the bug report, r153685 still worked, the patch above was 
r138953.  And if anything it just exposed a latent bug with 
-fsched2-use-superblocks .


Ciao,
Michael.


More information about the Gcc-patches mailing list