rs6000.c (compute_save_world_info): Set lr_save_p if we are going to "save the world".
authorAndrew Pinski <pinskia@gmail.com>
Sun, 13 Apr 2008 03:17:01 +0000 (20:17 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 13 Apr 2008 03:17:01 +0000 (20:17 -0700)
commit298ac1dd20a0f91e5975bf8a3ca8138e4f0499e4
tree03ec29e0002099e7f0dbae36f3186066b8fe0462
parent70a7c7f11f253b8b38f2450c6f9727e1cda235c2
rs6000.c (compute_save_world_info): Set lr_save_p if we are going to "save the world".

2008-04-12  Andrew Pinski  <pinskia@gmail.com>

        * config/rs6000/rs6000.c (compute_save_world_info): Set lr_save_p if
        we are going to "save the world".

2008-04-12  Andrew Pinski  <pinskia@gmail.com>

        * gcc.target/powerpc/darwin-save-world-1.c: New test.

From-SVN: r134237
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/darwin-save-world-1.c [new file with mode: 0644]