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 RFC: My version of the lower-subreg patch


Rask Ingemann Lambertsen <rask@sygehus.dk> writes:

> --- gcc/lower-subreg.c~	2006-12-29 02:47:18.000000000 +0100
> +++ gcc/lower-subreg.c	2006-12-29 03:11:38.000000000 +0100
> @@ -320,7 +320,9 @@
>  static bool
>  resolve_reg_p (rtx x)
>  {
> -  return GET_CODE (x) == CONCATN;
> +  return GET_CODE (x) == CONCATN
> +	 || (GET_CODE (x) == SUBREG
> +	     && GET_CODE (SUBREG_REG (x)) == CONCATN);
>  }

As far as I can see this patch shouldn't be necessary.  Maybe I am
missing something.  Can you give the new patch a try?  I reworked the
CONCATN handling.  Thanks.

Ian


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