PATCH RFC: My version of the lower-subreg patch
Ian Lance Taylor
iant@google.com
Sat Dec 30 04:49:00 GMT 2006
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
More information about the Gcc-patches
mailing list