On Wed, May 04, 2016 at 10:41:07PM +0930, Alan Modra wrote: > Bootstrap and regression tested powerpc64le-linux. Fixes 771 Go > testsuite regressions. OK to apply everywhere? > > The alternative of adding all parameter regs used by cfun to the > __morestack CALL_INSN_FUNCTION_USAGE and uses for cfun return value > regs seems overkill when all we need to do is protect a very small > sequence of insns. > > PR target/70947 > * config/rs6000/rs6000.c (rs6000_expand_split_stack_prologue): Stop > regrename modifying insns saving lr before __morestack call. > * config/rs6000/rs6000.md (split_stack_return): Similarly for > insns restoring lr after __morestack call.
Okay for trunk. Okay for the other branches after some suitable burn-in period. Thanks, Segher