This is the mail archive of the gcc-patches@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]

Re: [PATCH] PR 11591: Allow any offset to arg-pointer in nonstrict case


> --- gcc/config/rs6000/rs6000.c      25 Mar 2004 17:43:19 -0000    1.616
> +++ gcc/config/rs6000/rs6000.c      29 Mar 2004 07:39:05 -0000
> @@ -3267,7 +3267,8 @@ rs6000_legitimate_address (enum machine_
>    if (! reg_ok_strict
>        && GET_CODE (x) == PLUS
>        && GET_CODE (XEXP (x, 0)) == REG
> -      && XEXP (x, 0) == virtual_stack_vars_rtx
> +      && (XEXP (x, 0) == virtual_stack_vars_rtx
> +         || XEXP (x, 0) == arg_pointer_rtx)

I don't have any problem with this, but I'd rather David or Geoff
review this, since it affects non-altivec code.

Cheers.
Aldy


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