This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/53038] cfi_restore for cr before cr is actually restored


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53038

--- Comment #3 from Alan Modra <amodra at gcc dot gnu.org> 2012-05-01 04:03:25 UTC ---
Author: amodra
Date: Tue May  1 04:03:21 2012
New Revision: 187010

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187010
Log:
    PR target/53038
    * config/rs6000/rs6000.c (load_lr_save, restore_saved_lr,
    load_cr_save, add_crlr_cfa_restore): New functions.
    (rs6000_restore_saved_cr): Rename to..
    (restore_saved_cr): ..this.  Add cfa_restore notes for cr.
    (rs6000_emit_epilogue): Use new functions.  Adjust condition
    for emitting lr and cr cfa_restore.  Emit cfa_restores for fp
    regs when using out-of-line restore only when shrink wrapping.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]