Commit 30bf7f73 by Donn Terry Committed by Jeff Law

except.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSIGNED.

        * except.c (start_catch_hadler): Be sure rtime_address is Pmode
        if POINTERS_EXTEND_UNSIGNED.

From-SVN: r26478
parent aefe40b1
Thu Apr 15 20:46:57 1999 Donn Terry (donn@interix.com)
* except.c (start_catch_hadler): Be sure rtime_address is Pmode
if POINTERS_EXTEND_UNSIGNED.
* except.c (expand_eh_return): Force pointers to proper mode if
POINTERS_EXTEND_UNSIGNED.
......
......@@ -1760,6 +1760,9 @@ start_catch_handler (rtime)
catchstack.top->entry->false_label = gen_exception_label ();
rtime_address = expand_expr (rtime, NULL_RTX, Pmode, EXPAND_INITIALIZER);
#ifdef POINTERS_EXTEND_UNSIGNED
rtime_address = convert_memory_address (Pmode, rtime_address);
#endif
rtime_address = force_reg (Pmode, rtime_address);
/* Now issue the call, and branch around handler if needed */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment