except.c (jumpif_rtx): Put declaration and definition inside a suitable #ifdef.
authorJeffrey A Law <law@cygnus.com>
Fri, 19 Jun 1998 23:45:30 +0000 (23:45 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Jun 1998 23:45:30 +0000 (17:45 -0600)
        * except.c (jumpif_rtx): Put declaration and definition
        inside a suitable #ifdef.
        (jumpifnot_rtx): Delete dead function.

From-SVN: r20626

gcc/ChangeLog
gcc/except.c

index 30dffcbd8086e32ecc8935573a55ead0bac72ed1..91316319ee6de58f9caf1e3d1c955ef5679ab6e5 100644 (file)
@@ -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.
 
index 74f10304a11db5a7500a75b7de1ef347e01a565f..63d6c82fc47ba8f930995c074025a14daa72a381 100644 (file)
@@ -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