Re: [PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)

2011-07-31 Thread Andreas Schwab
I have now checked it into trunk and 4.6 branch. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: [PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)

2011-07-30 Thread Mikael Pettersson
Andreas Schwab writes: > Mikael Pettersson writes: > > > 2011-07-28 Mikael Pettersson > > > >PR target/47908 > >* config/m68k/m68k.c (m68k_override_options_after_change): New function. > >Disable instruction scheduling for non-ColdFire targets. > >(TARGET_OVERRIDE_OPTIO

Re: [PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)

2011-07-30 Thread Andreas Schwab
Mikael Pettersson writes: > 2011-07-28 Mikael Pettersson > > 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 a

[PATCH] unbreak attribute((optimize(...))) on m68k (PR47908)

2011-07-28 Thread Mikael Pettersson
On m68k-linux, gcc ICEs on any occurrence of attribute((optimize(...))) ever since gcc-4.4. Default optimization flags enable scheduling, which the backend doesn't support for non-ColdFire targets. The backend disables scheduling for non-ColdFire targets when processing command-line options, but