From b68e8bdd8cedf358ba149e2b62e6d060031b29d4 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 29 Mar 1999 07:07:37 -0800 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6febf5d743b..4c974ef7856 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Mon Mar 29 15:05:39 1999 Richard Henderson + + * 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 * invoke.texi (Code Gen Options): Attempt to clarify diff --git a/gcc/except.c b/gcc/except.c index 6e126fb631d..3c296c9f613 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. -- 2.30.2