aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2006-04-06 19:36:30 +0000
committerMike Stump <mrs@gcc.gnu.org>2006-04-06 19:36:30 +0000
commit3425c35fcac7c4220043572e32da054f94739c07 (patch)
treec4de7f55129e7d91c94efcc8dee3eff6205d542d /gcc/builtins.c
parent6e6bfd3a7b1ec9708416c87dace5ed72492d9358 (diff)
downloadgcc-3425c35fcac7c4220043572e32da054f94739c07.zip
gcc-3425c35fcac7c4220043572e32da054f94739c07.tar.gz
gcc-3425c35fcac7c4220043572e32da054f94739c07.tar.bz2
* 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
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c6
1 files changed, 3 insertions, 3 deletions
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)
{