aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/except.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1658c57..9c43cca 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 11 17:14:15 1998 Jim Wilson <wilson@cygnus.com>
+
+ * except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
+ calling gen_rtx_SET.
+
Thu Jun 11 18:45:49 1998 David Edelsohn <edelsohn@mhpcc.edu>
* config/rs6000/x-aix43 (AR): Delete.
diff --git a/gcc/except.c b/gcc/except.c
index 708fba9..e76f21c 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -2455,10 +2455,10 @@ expand_builtin_eh_stub ()
to pick out the handler field (first element), and jump to there,
leaving the pointer to _eh_conext in the same hardware register. */
- temp = gen_rtx_MEM (Pmode, handler);
+ temp = gen_rtx_MEM (Pmode, handler);
MEM_IN_STRUCT_P (temp) = 1;
RTX_UNCHANGING_P (temp) = 1;
- emit_insn (gen_rtx_SET (Pmode, offset, temp));
+ emit_move_insn (offset, temp);
emit_insn (gen_rtx_USE (Pmode, handler));
emit_indirect_jump (offset);