PATCH COMMITTED: More lower-subreg.c patches

Ian Lance Taylor iant@google.com
Tue Feb 6 23:05:00 GMT 2007


DJ Delorie <dj@redhat.com> writes:

> The PLUS case is probably not needed, but this patch gets me past the above:
> 
> Index: lower-subreg.c
> ===================================================================
> --- lower-subreg.c	(revision 121639)
> +++ lower-subreg.c	(working copy)
> @@ -80,6 +80,8 @@ simple_move_operand (rtx x)
>  
>    if (GET_CODE (x) == LABEL_REF
>        || GET_CODE (x) == SYMBOL_REF
> +      || GET_CODE (x) == PLUS
> +      || GET_CODE (x) == CONST
>        || GET_CODE (x) == HIGH)
>      return false;

The PLUS case is not needed.  I added the CONST case this morning;
that was an oversight.

Thanks, and sorry for the breakage.

Ian



More information about the Gcc-patches mailing list