diff options
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r-- | gcc/c-common.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h index aab0e33253e..d0523a50051 100644 --- a/gcc/c-common.h +++ b/gcc/c-common.h @@ -183,10 +183,10 @@ enum c_tree_index /* Identifier part common to the C front ends. Inherits from tree_identifier, despite appearances. */ -struct c_common_identifier +struct c_common_identifier GTY(()) { struct tree_common common; - struct cpp_hashnode node; + struct cpp_hashnode GTY ((skip (""))) node; }; #define wchar_type_node c_global_trees[CTI_WCHAR_TYPE] @@ -231,7 +231,7 @@ struct c_common_identifier /* A node for `((void) 0)'. */ #define void_zero_node c_global_trees[CTI_VOID_ZERO] -extern tree c_global_trees[CTI_MAX]; +extern GTY(()) tree c_global_trees[CTI_MAX]; /* Mark which labels are explicitly declared. These may be shadowed, and may be referenced from nested functions. */ @@ -252,7 +252,7 @@ c_language_kind; /* Information about a statement tree. */ -struct stmt_tree_s { +struct stmt_tree_s GTY(()) { /* The last statement added to the tree. */ tree x_last_stmt; /* The type of the last expression statement. (This information is @@ -282,7 +282,7 @@ typedef struct stmt_tree_s *stmt_tree; /* Global state pertinent to the current function. Some C dialects extend this structure with additional fields. */ -struct language_function { +struct c_language_function GTY(()) { /* While we are parsing the function, this contains information about the statement-tree that we are building. */ struct stmt_tree_s x_stmt_tree; @@ -344,7 +344,6 @@ extern tree walk_stmt_tree PARAMS ((tree *, void *)); extern void prep_stmt PARAMS ((tree)); extern void expand_stmt PARAMS ((tree)); -extern void mark_stmt_tree PARAMS ((void *)); extern void shadow_warning PARAMS ((const char *, tree, tree)); extern tree c_begin_if_stmt PARAMS ((void)); @@ -357,7 +356,7 @@ extern void c_finish_while_stmt_cond PARAMS ((tree, tree)); structure for FUNCTION_DECLs; all other DECLs have a NULL DECL_LANG_SPECIFIC field. */ -struct c_lang_decl { +struct c_lang_decl GTY(()) { unsigned declared_inline : 1; }; @@ -368,8 +367,6 @@ struct c_lang_decl { #define DECL_NUM_STMTS(NODE) \ (FUNCTION_DECL_CHECK (NODE)->decl.u1.i) -extern void c_mark_lang_decl PARAMS ((struct c_lang_decl *)); - /* The variant of the C language being processed. Each C language front-end defines this variable. */ @@ -869,8 +866,6 @@ extern tree boolean_increment PARAMS ((enum tree_code, after entering or leaving a header file. */ extern void extract_interface_info PARAMS ((void)); -extern void mark_c_language_function PARAMS ((struct language_function *)); - extern int case_compare PARAMS ((splay_tree_key, splay_tree_key)); |