[backport gcc-4.7.3 r195834 ] gcc/ 2013-02-07 Alan Modra PR target/53040 * config/rs6000/rs6000.c (rs6000_savres_strategy): When using static chain, set REST_INLINE_FPRS too. --- gcc-4.6.3/gcc/config/rs6000/rs6000.c.~1~ 2012-02-15 22:17:42.000000000 +0100 +++ gcc-4.6.3/gcc/config/rs6000/rs6000.c 2013-02-10 14:27:36.570543401 +0100 @@ -18598,7 +18598,7 @@ rs6000_savres_strategy (rs6000_stack_t * by the static chain. It would require too much fiddling and the static chain is rarely used anyway. */ if (using_static_chain_p) - strategy |= SAVE_INLINE_FPRS | SAVE_INLINE_GPRS; + strategy |= SAVE_INLINE_FPRS | SAVE_INLINE_GPRS | REST_INLINE_FPRS; /* If we are going to use store multiple, then don't even bother with the out-of-line routines, since the store-multiple