Re: [RS6000] Fix PR45053

2017-04-06 Thread Segher Boessenkool
On Thu, Feb 07, 2013 at 07:15:05PM +1030, Alan Modra wrote: > I think this one counts as obvious, but I'll ask for permission anyway. > Bootstrapped etc. powerpc-linux. OK everywhere? Okay for trunk (and backports, if you want). -O2 may look odd but there is a nice big comment explaining it (ple

Re: [RS6000] Fix PR45053

2013-02-07 Thread Mike Stump
On Feb 7, 2013, at 3:49 AM, Richard Biener wrote: > On Thu, Feb 7, 2013 at 11:51 AM, Alan Modra wrote: >> On Thu, Feb 07, 2013 at 10:11:02AM +0100, Richard Biener wrote: >>> On Thu, Feb 7, 2013 at 9:45 AM, Alan Modra wrote: I think this one counts as obvious, but I'll ask for permission any

Re: [RS6000] Fix PR45053

2013-02-07 Thread Alan Modra
On Thu, Feb 07, 2013 at 12:49:03PM +0100, Richard Biener wrote: > It should be possible to add a -msavres-inline switch, right? Sure, but doesn't rs6000 have enough options already? Perhaps the best solution would be to move __do_global_ctors_aux out of crtend.o for targets that support hidden gl

Re: [RS6000] Fix PR45053

2013-02-07 Thread Richard Biener
On Thu, Feb 7, 2013 at 11:51 AM, Alan Modra wrote: > On Thu, Feb 07, 2013 at 10:11:02AM +0100, Richard Biener wrote: >> On Thu, Feb 7, 2013 at 9:45 AM, Alan Modra wrote: >> > I think this one counts as obvious, but I'll ask for permission anyway. >> > Bootstrapped etc. powerpc-linux. OK everywhe

Re: [RS6000] Fix PR45053

2013-02-07 Thread Alan Modra
On Thu, Feb 07, 2013 at 10:11:02AM +0100, Richard Biener wrote: > On Thu, Feb 7, 2013 at 9:45 AM, Alan Modra wrote: > > I think this one counts as obvious, but I'll ask for permission anyway. > > Bootstrapped etc. powerpc-linux. OK everywhere? > > Isn't there a way to just disable the out-of-lin

Re: [RS6000] Fix PR45053

2013-02-07 Thread Richard Biener
On Thu, Feb 7, 2013 at 9:45 AM, Alan Modra wrote: > I think this one counts as obvious, but I'll ask for permission anyway. > Bootstrapped etc. powerpc-linux. OK everywhere? Isn't there a way to just disable the out-of-line register save/restore functions? Adding -O2 looks odd. On a related no

[RS6000] Fix PR45053

2013-02-07 Thread Alan Modra
I think this one counts as obvious, but I'll ask for permission anyway. Bootstrapped etc. powerpc-linux. OK everywhere? PR target/45053 * config/rs6000/t-crtstuff (CRTSTUFF_T_CFLAGS): Add -O2. Index: libgcc/config/rs6000/t-crtstuff