diff options
author | Jan Hubicka <jh@suse.cz> | 2000-12-15 14:46:51 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2000-12-15 13:46:51 +0000 |
commit | dde068d924bc95eb7a0c3b78fc22a9665a2555ba (patch) | |
tree | 5bdaa9b49e7fe1c89c148142e1f2c06b264eb8ce /gcc | |
parent | 0bf7d71a78ff9950e2b2fb64258abc21da549e04 (diff) | |
download | gcc-dde068d924bc95eb7a0c3b78fc22a9665a2555ba.zip gcc-dde068d924bc95eb7a0c3b78fc22a9665a2555ba.tar.gz gcc-dde068d924bc95eb7a0c3b78fc22a9665a2555ba.tar.bz2 |
* integrate.c (copy_rtx_and_substitute): Copy mode too.
From-SVN: r38283
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/integrate.c | 1 |
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); |