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
This commit is contained in:
Donn Terry 1999-04-15 19:52:18 +00:00 committed by Jeff Law
parent 6b400b2132
commit aefe40b1a0
2 changed files with 11 additions and 0 deletions

View File

@ -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 <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.h: Tweaked comment formatting.

View File

@ -2790,6 +2790,12 @@ expand_eh_return ()
return;
eh_regs (&reg1, &reg2, &reg3, 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);