diff options
author | Diego Novillo <dnovillo@google.com> | 2013-09-02 10:25:40 -0400 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2013-09-02 10:25:40 -0400 |
commit | 5e351e96076332aa8c42848701b59923468eae98 (patch) | |
tree | feb689d5e1c96eaae4403f83eb30baf282acee3a /gcc/builtins.c | |
parent | 63fdb7bee70641e7d9a9704d51c8b70a62d31c24 (diff) | |
download | gcc-5e351e96076332aa8c42848701b59923468eae98.zip gcc-5e351e96076332aa8c42848701b59923468eae98.tar.gz gcc-5e351e96076332aa8c42848701b59923468eae98.tar.bz2 |
Split all the structures, enums, typedefs and some fundamental declarations from tree.h into tree-core.h.
Split all the structures, enums, typedefs and some fundamental
declarations from tree.h into tree-core.h. Everything else stays in
tree.h for now.
As we convert gimple files, we'll move declarations out of tree.h into
other headers and rewrite missing functions in the new gimple API.
* Makefile.in (TREE_CORE_H): Define.
(TREE_H): Use.
(GTFILES): Add tree-core.h.
* builtins.c (built_in_class_names): Use BUILT_IN_LAST to
size the array.
* tree-core.h: New file.
Move all data structures, enum, typedefs, global
declarations and constants from ...
* tree.h: ... here.
From-SVN: r202172
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 581a050..bb44a7f 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -62,7 +62,7 @@ struct target_builtins *this_target_builtins = &default_target_builtins; #endif /* Define the names of the builtin function types and codes. */ -const char *const built_in_class_names[4] +const char *const built_in_class_names[BUILT_IN_LAST] = {"NOT_BUILT_IN", "BUILT_IN_FRONTEND", "BUILT_IN_MD", "BUILT_IN_NORMAL"}; #define DEF_BUILTIN(X, N, C, T, LT, B, F, NA, AT, IM, COND) #X, |