aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/integrate.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4f3c49..b342fd7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
+
+ * integrate.c (copy_rtx_and_substitute): Copy mode too.
+
Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
* flow.c (notice_stack_pointer_modification_1): Cleanup.
diff --git a/gcc/integrate.c b/gcc/integrate.c
index b991fef..0db4840 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);