From 3425c35fcac7c4220043572e32da054f94739c07 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 6 Apr 2006 19:36:30 +0000 Subject: [PATCH] * builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if for HAVE_nonlocal_goto to be consistent. (expand_builtin_nonlocal_goto): Likewise. (expand_builtin_strcmp): Use #ifdef instead of #if for HAVE_cmpstrnsi to be consistent. From-SVN: r112737 --- gcc/ChangeLog | 8 ++++++++ gcc/builtins.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d478e08..6391dd4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2006-04-06 Mike Stump + + * builtins.c (expand_builtin_longjmp):Use #ifdef instead of #if + for HAVE_nonlocal_goto to be consistent. + (expand_builtin_nonlocal_goto): Likewise. + (expand_builtin_strcmp): Use #ifdef instead of #if + for HAVE_cmpstrnsi to be consistent. + 2006-04-05 DJ Delorie * config/m32c/m32c.h (INCOMING_FRAME_SP_OFFSET): Adjust for m16c diff --git a/gcc/builtins.c b/gcc/builtins.c index 8177f89..16f9d08 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -793,7 +793,7 @@ expand_builtin_longjmp (rtx buf_addr, rtx value) /* Pick up FP, label, and SP from the block and jump. This code is from expand_goto in stmt.c; see there for detailed comments. */ -#if HAVE_nonlocal_goto +#ifdef HAVE_nonlocal_goto if (HAVE_nonlocal_goto) /* We have to pass a value to the nonlocal_goto pattern that will get copied into the static_chain pointer, but it does not matter @@ -866,7 +866,7 @@ expand_builtin_nonlocal_goto (tree arglist) current_function_has_nonlocal_goto = 1; -#if HAVE_nonlocal_goto +#ifdef HAVE_nonlocal_goto /* ??? We no longer need to pass the static chain value, afaik. */ if (HAVE_nonlocal_goto) emit_insn (gen_nonlocal_goto (const0_rtx, r_label, r_sp, r_fp)); @@ -3676,7 +3676,7 @@ expand_builtin_strcmp (tree exp, rtx target, enum machine_mode mode) GEN_INT (MIN (arg1_align, arg2_align))); } #endif -#if HAVE_cmpstrnsi +#ifdef HAVE_cmpstrnsi /* Try to determine at least one length and call cmpstrnsi. */ if (!insn && HAVE_cmpstrnsi) { -- 2.7.4