OSDN Git Service

* except.c (start_dynamic_handler): Force jmp_buf address to
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Mar 1999 15:07:37 +0000 (15:07 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Mar 1999 15:07:37 +0000 (15:07 +0000)
        and operand before moving to memory.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26058 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/except.c

index 6febf5d..4c974ef 100644 (file)
@@ -1,3 +1,8 @@
+Mon Mar 29 15:05:39 1999  Richard Henderson  <rth@cygnus.com>
+
+       * except.c (start_dynamic_handler): Force jmp_buf address to 
+       and operand before moving to memory.
+
 Mon Mar 29 15:11:10 1999  Craig Burley  <craig@jcb-sc.com>
 
        * invoke.texi (Code Gen Options): Attempt to clarify
index 6e126fb..3c296c9 100644 (file)
@@ -1377,7 +1377,7 @@ start_dynamic_handler ()
 
   /* We are committed to this, so update the handler chain.  */
 
-  emit_move_insn (dhc, XEXP (arg, 0));
+  emit_move_insn (dhc, force_operand (XEXP (arg, 0), NULL_RTX));
 }
 
 /* Start an exception handling region for the given cleanup action.