aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-03-29 07:07:37 -0800
committerRichard Henderson <rth@gcc.gnu.org>1999-03-29 07:07:37 -0800
commitb68e8bdd8cedf358ba149e2b62e6d060031b29d4 (patch)
tree5799276aaa424b2258b7f2f143fa7e957170db45 /gcc
parentd311103760c64a1d8125db18b66a2f32fe8f930b (diff)
downloadgcc-b68e8bdd8cedf358ba149e2b62e6d060031b29d4.zip
gcc-b68e8bdd8cedf358ba149e2b62e6d060031b29d4.tar.gz
gcc-b68e8bdd8cedf358ba149e2b62e6d060031b29d4.tar.bz2
except.c (start_dynamic_handler): Force jmp_buf address to and operand before moving to memory.
* except.c (start_dynamic_handler): Force jmp_buf address to and operand before moving to memory. From-SVN: r26058
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6febf5d..4c974ef 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/except.c b/gcc/except.c
index 6e126fb..3c296c9 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -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.