summaryrefslogtreecommitdiff
path: root/gcc/c-common.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-12 13:06:15 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-12 13:06:15 +0000
commit820440d6188403c046565853b167e8afb51844c4 (patch)
tree4e17142256d0c3131e7b10149f5c50c1ea1b9850 /gcc/c-common.h
parent18f11b847c8b60754021142e3b65af65fa89e4a2 (diff)
downloadgcc-820440d6188403c046565853b167e8afb51844c4.tar.gz
./:
* c-common.h (statement_code_p): Don't declare. (STATEMENT_CODE_P): Don't define. (INIT_STATEMENT_CODES): Don't define. * c-common.c (statement_code_p): Don't define. cp/: * cp-tree.h (cp_stmt_codes): Don't define. (statement_code_p): Declare. (STATEMENT_CODE_P): Define. * lex.c (statement_code_p): Define. (cxx_init): Use actual codes in stmt_codes initializer, not cp_stmt_codes macro. Initialize statement_code_p directly, rather than using INIT_STATEMENT_CODES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99615 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-common.h')
-rw-r--r--gcc/c-common.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/c-common.h b/gcc/c-common.h
index c43531bc88a..94532cc1e6e 100644
--- a/gcc/c-common.h
+++ b/gcc/c-common.h
@@ -735,20 +735,6 @@ enum c_tree_code {
#undef DEFTREECODE
-/* TRUE if a code represents a statement. The front end init
- langhook should take care of initialization of this array. */
-extern bool statement_code_p[MAX_TREE_CODES];
-
-#define STATEMENT_CODE_P(CODE) statement_code_p[(int) (CODE)]
-
-#define INIT_STATEMENT_CODES(STMT_CODES) \
- do { \
- unsigned int i; \
- memset (&statement_code_p, 0, sizeof (statement_code_p)); \
- for (i = 0; i < ARRAY_SIZE (STMT_CODES); i++) \
- statement_code_p[STMT_CODES[i]] = true; \
- } while (0)
-
extern int stmts_are_full_exprs_p (void);
extern int anon_aggr_type_p (tree);