From dde068d924bc95eb7a0c3b78fc22a9665a2555ba Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Fri, 15 Dec 2000 14:46:51 +0100 Subject: [PATCH] * integrate.c (copy_rtx_and_substitute): Copy mode too. From-SVN: r38283 --- gcc/ChangeLog | 4 ++++ gcc/integrate.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e4f3c49cc67..b342fd7bbb2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 15 14:44:51 MET 2000 Jan Hubicka + + * integrate.c (copy_rtx_and_substitute): Copy mode too. + Fri Dec 15 14:11:57 MET 2000 Jan Hubicka * flow.c (notice_stack_pointer_modification_1): Cleanup. diff --git a/gcc/integrate.c b/gcc/integrate.c index b991fef0a6c..0db4840503a 100644 --- a/gcc/integrate.c +++ b/gcc/integrate.c @@ -2070,6 +2070,7 @@ copy_rtx_and_substitute (orig, map, for_lhs) { copy = rtx_alloc (ASM_OPERANDS); copy->volatil = orig->volatil; + PUT_MODE (copy, GET_MODE (orig)); ASM_OPERANDS_TEMPLATE (copy) = ASM_OPERANDS_TEMPLATE (orig); ASM_OPERANDS_OUTPUT_CONSTRAINT (copy) = ASM_OPERANDS_OUTPUT_CONSTRAINT (orig); -- 2.30.2