summaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-27 01:53:02 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-07-27 01:53:02 +0000
commit5cbc1de902c70b0ce32a5fc8316e8f045dcf48f7 (patch)
tree9fd0a459b331980a9cac4000758c02e4ccb943b9 /gcc/except.c
parent6999e4fc90dcce2a3486f60f804c44a6430f54de (diff)
downloadgcc-5cbc1de902c70b0ce32a5fc8316e8f045dcf48f7.tar.gz
* except.c (start_dynamic_cleanup): Use force_operand on the
buffer's address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28282 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index f7d78d687ef..90069a8b122 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1309,7 +1309,9 @@ start_dynamic_cleanup (func, arg)
/* Update the cleanup chain. */
- emit_move_insn (dcc, XEXP (buf, 0));
+ x = force_operand (XEXP (buf, 0), dcc);
+ if (x != dcc)
+ emit_move_insn (dcc, x);
}
/* Emit RTL to start a dynamic handler on the EH runtime dynamic