aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-06-11 17:15:02 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-06-11 10:15:02 -0700
commitfb95c8c95682269873f39994ce5c703c935f019f (patch)
treefe48ea36811044bcf9f9eb84a116f8da52570521 /gcc/except.c
parent950092884234a561c80a7b90bb054e2876140b9c (diff)
downloadgcc-fb95c8c95682269873f39994ce5c703c935f019f.zip
gcc-fb95c8c95682269873f39994ce5c703c935f019f.tar.gz
gcc-fb95c8c95682269873f39994ce5c703c935f019f.tar.bz2
Fix m68k build failure.
* except.c (expand_builtin_eh_stub): Call emit_move_insn rather than calling gen_rtx_SET. From-SVN: r20431
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c4
1 files changed, 2 insertions, 2 deletions
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);