This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)
- From: Mikael Pettersson <mikpe at it dot uu dot se>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Mikael Pettersson <mikpe at it dot uu dot se>, gcc-patches at gcc dot gnu dot org
- Date: Sat, 30 Jul 2011 12:38:51 +0200
- Subject: Re: [PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)
- References: <20017.19599.454863.684658@pilspetsen.it.uu.se> <m2livgmadh.fsf@linux-m68k.org>
Andreas Schwab writes:
> Mikael Pettersson <mikpe@it.uu.se> writes:
>
> > 2011-07-28 Mikael Pettersson <mikpe@it.uu.se>
> >
> > PR target/47908
> > * config/m68k/m68k.c (m68k_override_options_after_change): New function.
> > Disable instruction scheduling for non-ColdFire targets.
> > (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): Define.
>
> Ok for all active branches.
>
> Andreas.
Thanks.
I will need help from someone with svn commit rights to apply this.
Specifically, the patch posted in
<http://gcc.gnu.org/ml/gcc-patches/2011-07/msg02514.html>
should go into trunk and 4.6, while the patch attached to PR47908
<http://gcc.gnu.org/bugzilla/attachment.cgi?id=24863>
(same approach, different hook) should go into 4.5 and 4.4.
/Mikael