From aefe40b1a08a356ee6b5a0a7fbf8473c65796226 Mon Sep 17 00:00:00 2001 From: Donn Terry Date: Thu, 15 Apr 1999 19:52:18 +0000 Subject: [PATCH] except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED. * except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED. From-SVN: r26477 --- gcc/ChangeLog | 5 +++++ gcc/except.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 183159ed1a8..345454492b5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Apr 15 20:46:57 1999 Donn Terry (donn@interix.com) + + * except.c (expand_eh_return): Force pointers to proper mode if + POINTERS_EXTEND_UNSIGNED. + Thu Apr 15 23:13:35 1999 Michael Hayes * config/c4x/c4x.h: Tweaked comment formatting. diff --git a/gcc/except.c b/gcc/except.c index 3c296c9f613..21d5b8ab9fd 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -2790,6 +2790,12 @@ expand_eh_return () return; eh_regs (®1, ®2, ®3, 1); +#ifdef POINTERS_EXTEND_UNSIGNED + eh_return_context = convert_memory_address (Pmode, eh_return_context); + eh_return_stack_adjust = + convert_memory_address (Pmode, eh_return_stack_adjust); + eh_return_handler = convert_memory_address (Pmode, eh_return_handler); +#endif emit_move_insn (reg1, eh_return_context); emit_move_insn (reg2, eh_return_stack_adjust); emit_move_insn (reg3, eh_return_handler); -- 2.30.2