re PR target/35907 (64-bit power6 glibc miscompilation)
authorAlan Modra <amodra@bigpond.net.au>
Thu, 17 Apr 2008 12:27:31 +0000 (12:27 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Thu, 17 Apr 2008 12:27:31 +0000 (21:57 +0930)
commite6477eaa4d5524e7d05975188e27e7b1a148df3b
tree37c1643662d5b851e6cdb077881cdd7a1320b4c9
parent35485e124cb43114a6c634ce37d8a8c709000cc3
re PR target/35907 (64-bit power6 glibc miscompilation)

PR target/35907
* config/rs6000/rs6000.c (rs6000_emit_epilogue): Restore vr and vrsave
regs before frame pop when needed.  If use_backchain_to_restore_sp
then load backchain into a temp reg to restore vr and vrsave.  Add
code to restore vr after frame pop if possible.

From-SVN: r134387
gcc/ChangeLog
gcc/config/rs6000/rs6000.c