diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-03-23 00:20:37 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-03-23 00:20:37 +0000 |
commit | cb1072f45021824406e8ac504a111d6bbccb5b81 (patch) | |
tree | 749b1c40907afda0f70894c379324d941e4fe7ab /gcc/builtins.c | |
parent | dc397323c699c6491853417cd4011bfbab64a19f (diff) | |
download | gcc-cb1072f45021824406e8ac504a111d6bbccb5b81.zip gcc-cb1072f45021824406e8ac504a111d6bbccb5b81.tar.gz gcc-cb1072f45021824406e8ac504a111d6bbccb5b81.tar.bz2 |
builtins.def: New file.
* builtins.def: New file.
* Makefile.in (TREE_H): Depend on builtins.def.
* builtins.c (built_in_names): Use builtins.def.
* tree.h (built_in_function): Likewise.
From-SVN: r32695
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 7da5161..c4b2e76 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -60,25 +60,12 @@ Boston, MA 02111-1307, USA. */ const char *const built_in_class_names[4] = {"NOT_BUILT_IN", "BUILT_IN_FRONTEND", "BUILT_IN_MD", "BUILT_IN_NORMAL"}; +#define DEF_BUILTIN(x) STRINGIFY(x), const char *const built_in_names[(int) END_BUILTINS] = -{"BUILT_IN_ALLOCA", "BUILT_IN_ABS", "BUILT_IN_FABS", "BUILT_IN_LABS", - "BUILT_IN_FFS", "BUILT_IN_DIV", "BUILT_IN_LDIV", "BUILT_IN_FFLOOR", - "BUILT_IN_FCEIL", "BUILT_IN_FMOD", "BUILT_IN_FREM", "BUILT_IN_MEMCPY", - "BUILT_IN_MEMCMP", "BUILT_IN_MEMSET", "BUILT_IN_STRCPY", "BUILT_IN_STRCMP", - "BUILT_IN_STRLEN", "BUILT_IN_FSQRT", "BUILT_IN_SIN", "BUILT_IN_COS", - "BUILT_IN_GETEXP", "BUILT_IN_GETMAN", "BUILT_IN_SAVEREGS", - "BUILT_IN_CLASSIFY_TYPE", "BUILT_IN_NEXT_ARG", "BUILT_IN_ARGS_INFO", - "BUILT_IN_CONSTANT_P", "BUILT_IN_FRAME_ADDRESS", "BUILT_IN_RETURN_ADDRESS", - "BUILT_IN_AGGREGATE_INCOMING_ADDRESS", "BUILT_IN_APPLY_ARGS", - "BUILT_IN_APPLY", "BUILT_IN_RETURN", "BUILT_IN_SETJMP", "BUILT_IN_LONGJMP", - "BUILT_IN_TRAP", "BUILT_IN_ISGREATER", "BUILT_IN_ISGREATEREQUAL", - "BUILT_IN_ISLESS", "BUILT_IN_ISLESSEQUAL", "BUILT_IN_ISLESSGREATER", - "BUILT_IN_ISUNORDERED", "BUILT_IN_UNWIND_INIT", "BUILT_IN_DWARF_CFA", - "BUILT_IN_DWARF_FP_REGNUM", "BUILT_IN_INIT_DWARF_REG_SIZES", - "BUILT_IN_FROB_RETURN_ADDR", "BUILT_IN_EXTRACT_RETURN_ADDR", - "BUILT_IN_EH_RETURN", "BUILT_IN_VARARGS_START", "BUILT_IN_STDARG_START", - "BUILT_IN_VA_END", "BUILT_IN_VA_COPY", "BUILT_IN_NEW", "BUILT_IN_VEC_NEW", - "BUILT_IN_DELETE", "BUILT_IN_VEC_DELETE" }; +{ +#include "builtins.def" +}; +#undef DEF_BUILTIN tree (*lang_type_promotes_to) PARAMS ((tree)); |