From: Andrew Pinski Date: Sat, 29 Mar 2008 21:37:11 +0000 (+0000) Subject: rs6000.c (rs6000_stack_info): Don't force saving of the link register if one altivec... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ac0963aeba998c0fce17b9740f7095d6f66c193;p=gcc.git rs6000.c (rs6000_stack_info): Don't force saving of the link register if one altivec register is be saved. 2008-03-29 Andrew Pinski * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of the link register if one altivec register is be saved. From-SVN: r133720 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a21684794c..94725d93bcc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-03-29 Andrew Pinski + + * config/rs6000/rs6000.c (rs6000_stack_info): Don't force saving of + the link register if one altivec register is be saved. + 2008-03-30 Ben Elliston * final.c (final_scan_insn): Remove if (0) code. diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a7997093987..c8ebd7fb8a4 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -14450,7 +14450,6 @@ rs6000_stack_info (void) #endif || (info_ptr->first_fp_reg_save != 64 && !FP_SAVE_INLINE (info_ptr->first_fp_reg_save)) - || info_ptr->first_altivec_reg_save <= LAST_ALTIVEC_REGNO || (DEFAULT_ABI == ABI_V4 && current_function_calls_alloca) || info_ptr->calls_p || rs6000_ra_ever_killed ())