]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
except.c (start_dynamic_cleanup): Use force_operand on the buffer's address.
authorRichard Henderson <rth@cygnus.com>
Tue, 27 Jul 1999 01:53:02 +0000 (18:53 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 27 Jul 1999 01:53:02 +0000 (18:53 -0700)
        * except.c (start_dynamic_cleanup): Use force_operand on the
        buffer's address.

From-SVN: r28282

gcc/ChangeLog
gcc/except.c

index efb69f3b02d8fa4a9d734373333061a95f3d8451..7685e77cae288604c4d8379eadac5bbc2e8ed7b2 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jul 26 18:51:34 1999  Richard Henderson  <rth@cygnus.com>
+
+       * except.c (start_dynamic_cleanup): Use force_operand on the
+       buffer's address.
+
 Mon Jul 26 16:43:26 1999  Richard Henderson  <rth@cygnus.com>
 
        * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
index f7d78d687eff84a31d6fa0ec22364ac400633644..90069a8b122128333585bf0d019d02cc973675c9 100644 (file)
@@ -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