On Fri, Aug 11, 2017 at 12:34:13PM +0930, Alan Modra wrote:
> Bootstrapped and regression tested powerpc64-linux (-m32 too) and
> powerpc64le-linux. OK?
>
> * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Merge..
> (save_reg_p): ..into this. Update all callers.
> (f
rs6000_reg_live_or_pic_offset_p is just save_reg_p with special
handling for the pic register and eh_return. This merge also
simplifies the eh_return handling. The intent of
https://gcc.gnu.org/ml/gcc-patches/2010-09/msg01838.html was to say
the PIC reg needed to be saved for eh_return, not all g