On 04/02/14 12:19, Richard Sandiford wrote:
> This patch fixes the CFA notes used when an epilogue restores a GPR from
> an FPR.  It also makes sure that s390_optimize_prologue preserves the
> CFA information.
> 
> Tested in the same way as the previous patch.  OK to install?
> 
> Thanks,
> Richard
> 
> 
> gcc/
>       * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE
>       notes to each restore.  Also add REG_CFA_DEF_CFA when restoring %r15.
>       (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P.  Update the
>       REG_CFA_RESTORE list when deciding not to restore a register.

Ok to apply.  Thanks!

-Andreas-


Reply via email to