aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorHerman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>2000-02-20 07:43:00 +0100
committerRichard Henderson <rth@gcc.gnu.org>2000-02-19 22:43:00 -0800
commita0ec56b70da8b21e305afedfc7735efc9ce4ee01 (patch)
tree71f9bc7c6b4d730419ed1f8db03c52659370d65e /gcc/except.c
parentdb01dcfa8b44e466785bd1d4d441c58445ea2e4c (diff)
downloadgcc-a0ec56b70da8b21e305afedfc7735efc9ce4ee01.zip
gcc-a0ec56b70da8b21e305afedfc7735efc9ce4ee01.tar.gz
gcc-a0ec56b70da8b21e305afedfc7735efc9ce4ee01.tar.bz2
except.c (start_dynamic_handler): Use TYPE_MODE (integer_type_node) instead of SImode.
* except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node) instead of SImode. (start_catch_handler) : Same. From-SVN: r32074
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 8fdc9c9..2b84168 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1347,7 +1347,8 @@ start_dynamic_handler ()
buf = plus_constant (XEXP (arg, 0), GET_MODE_SIZE (Pmode)*2);
#ifdef DONT_USE_BUILTIN_SETJMP
- x = emit_library_call_value (setjmp_libfunc, NULL_RTX, 1, SImode, 1,
+ x = emit_library_call_value (setjmp_libfunc, NULL_RTX, 1,
+ TYPE_MODE (integer_type_node), 1,
buf, Pmode);
/* If we come back here for a catch, transfer control to the handler. */
jumpif_rtx (x, ehstack.top->entry->exception_handler_label);
@@ -1754,7 +1755,8 @@ start_catch_handler (rtime)
/* Now issue the call, and branch around handler if needed */
call_rtx = emit_library_call_value (eh_rtime_match_libfunc, NULL_RTX,
- 0, SImode, 1, rtime_address, Pmode);
+ 0, TYPE_MODE (integer_type_node),
+ 1, rtime_address, Pmode);
/* Did the function return true? */
emit_cmp_and_jump_insns (call_rtx, const0_rtx, EQ, NULL_RTX,