diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a21684794c2..94725d93bcc7 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 a79970939876..c8ebd7fb8a47 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 ())