From 767f5b145b2233c9ee5d4855a872f7e61fdee9ae Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Fri, 19 Jun 1998 23:45:30 +0000 Subject: [PATCH] except.c (jumpif_rtx): Put declaration and definition inside a suitable #ifdef. * except.c (jumpif_rtx): Put declaration and definition inside a suitable #ifdef. (jumpifnot_rtx): Delete dead function. From-SVN: r20626 --- gcc/ChangeLog | 4 ++++ gcc/except.c | 16 ++++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30dffcbd808..91316319ee6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ Sat Jun 20 00:36:16 1998 Jeffrey A Law (law@cygnus.com) + * except.c (jumpif_rtx): Put declaration and definition + inside a suitable #ifdef. + (jumpifnot_rtx): Delete dead function. + * i386.h (output_int_conditional_move): Declare. (output_fp_conditional_move): Likewise. diff --git a/gcc/except.c b/gcc/except.c index 74f10304a11..63d6c82fc47 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -503,8 +503,9 @@ static int can_throw PROTO((rtx)); static rtx scan_region PROTO((rtx, int, int *)); static void eh_regs PROTO((rtx *, rtx *, int)); static void set_insn_eh_region PROTO((rtx *, int)); +#ifdef DONT_USE_BUILTIN_SETJMP static void jumpif_rtx PROTO((rtx, rtx)); -static void jumpifnot_rtx PROTO((rtx, rtx)); +#endif rtx expand_builtin_return_addr PROTO((enum built_in_function, int, rtx)); @@ -1052,6 +1053,7 @@ get_dynamic_cleanup_chain () return gen_rtx_MEM (Pmode, result); } +#ifdef DONT_USE_BUILTIN_SETJMP /* Generate code to evaluate X and jump to LABEL if the value is nonzero. LABEL is an rtx of code CODE_LABEL, in this function. */ @@ -1062,17 +1064,7 @@ jumpif_rtx (x, label) { jumpif (make_tree (type_for_mode (GET_MODE (x), 0), x), label); } - -/* Generate code to evaluate X and jump to LABEL if the value is zero. - LABEL is an rtx of code CODE_LABEL, in this function. */ - -static void -jumpifnot_rtx (x, label) - rtx x; - rtx label; -{ - jumpifnot (make_tree (type_for_mode (GET_MODE (x), 0), x), label); -} +#endif /* Start a dynamic cleanup on the EH runtime dynamic cleanup stack. We just need to create an element for the cleanup list, and push it -- 2.30.2