aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-01-24 23:07:01 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-01-24 22:07:01 +0000
commit272f51a36f0274920b806cca375dca00ce7c51c8 (patch)
tree897959d6b91a286bdf8aff97f680af56bc3b6e8e /gcc/defaults.h
parent0ced43354fe55cfeed8e70eefc1110209ffb8c5f (diff)
downloadgcc-272f51a36f0274920b806cca375dca00ce7c51c8.zip
gcc-272f51a36f0274920b806cca375dca00ce7c51c8.tar.gz
gcc-272f51a36f0274920b806cca375dca00ce7c51c8.tar.bz2
builtins.c (DEF_BUILTIN): Accept 10 arguments.
* builtins.c (DEF_BUILTIN): Accept 10 arguments. (implicit_built_in_decls): New global array. (mathfn_built_in): New global function. (fold_trunc_transparent_mathfn): New static function (expand_builtin_strstr, expand_bultin_strchr, expand_builtin_strpbrk, expand_builtin_strcpy, expand_builtin_strncpy, expand_bultin_strcmp, expand_bultin_strncat, expand_builtin_fputs): Use implicint_built_in_decls. (fold_builtin): Fold floor/trunc/round/ceil/nearbyint. * builtins.def: Fix comments. (DEF_GCC_BUILTIN, DEF_FALLBACK_BUILTIN, DEF_EXT_FALLBACK_BUILTIN, DEF_LIB_BUILTIN, DEF_LIB_ALWAYS_BUILTIN, DEF_EXT_LIB_BUILTIN, DEF_C99_BULTIN, DEF_FRONT_END_LIB_BUILTIN, DEF_EXT_FRONT_END_LIB_BUILTIN): Pass implicit as needed. (DEF_C99_C90RES_BULTIN): New. (*f, *l builtins): Update. * c-common.c (DEF_BUILTIN): Initialize implicit array. (c_expand_builtin_printf, c_expand_builtin_fprintf): Update. * convert.c (strip_float_extensions): New global function. * tree.h (DEF_BUILTIN): Accept 10 arguments. (implicit_built_in_decls, mathfn_built_in, strip_float_extension): Declare. * java/builtins.c (define_builtin): Handle implicit. (DEF_BUILTIN): Update. * tm.texi (TARGET_C99_FUNCTIONS): Document. * defaults.h (TARGET_C99_FUNCTIONS): Default to 0. * config/linux.h (TARGET_C99_FUNCTIONS): Default to 1 when using glibc2. From-SVN: r61738
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 07a4bbc..2dc9d74 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -638,4 +638,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define EXTRA_CONSTRAINT_STR(OP, C,STR) EXTRA_CONSTRAINT (OP, C)
#endif
+/* Determine whether the the entire c99 runtime
+ is present in the runtime library. */
+#ifndef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 0
+#endif
+
#endif /* ! GCC_DEFAULTS_H */