diff options
author | Mark Mitchell <mark@codesourcery.com> | 2000-08-25 00:58:27 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2000-08-25 00:58:27 +0000 |
commit | 83bab8db08a04afe820ffd6b159a0de852ef0ae0 (patch) | |
tree | db5daa1309969dcd75e507b485cbdcb1ec86be2a /gcc/c-tree.h | |
parent | aee3c6b0389ecf8b01ee17fa25dc00b0666ee27c (diff) | |
download | gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.zip gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.tar.gz gcc-83bab8db08a04afe820ffd6b159a0de852ef0ae0.tar.bz2 |
Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
* Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
(c-iterate.o): Remove target.
* gcc/c-common.h (enum rid): Remove RID_ITERATOR.
* gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
(finish_decl): Don't handle iterators.
(grokdeclarator): Likewise.
* gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
* gcc/c-gperf.h: Regenerated.
* gcc/c-iterate.c: Removed.
* gcc/c-lex.c (init_lex): Don't handle iterators.
* gcc/c-parse.in (primary): Remove pop_iterator_stack call.
(compstmt_primary_start): Remove push_iterator_stack call.
(stmt): Don't allow iterator statements. Replace iterator_expand
with expand_expr_stmt.
(all_iter_stmt): Remove.
(all_iter_stmt_simple): Likewise.
(all_iter_stmt_with_decl): Likewise.
* gcc/c-tree.h (ITERATOR_P): Remove.
(ITERATOR_BOUND_P): Likewise.
(init_iterators): Remove declaration.
(iterator_expand): Likewise.
(iterator_for_loop_start): Likewise.
(iterator_for_loop_end): Likewise.
(iterator_for_loop_record): Likewise.
(push_iterator_stack): Likewise.
(pop_iterator_stack): Likewise.
* gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
(readonly_warning): Likewise.
* gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
* Make-lang.in (cc1chill): Don't depend on c-iterate.o.
* gcc.dg/noncompile/930622-2.c: Adjust error message.
From-SVN: r35967
Diffstat (limited to 'gcc/c-tree.h')
-rw-r--r-- | gcc/c-tree.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/c-tree.h b/gcc/c-tree.h index f3ad275..af9a3b6 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -126,12 +126,6 @@ struct lang_type /* In a FIELD_DECL, nonzero if the decl was originally a bitfield. */ #define DECL_C_BIT_FIELD(NODE) DECL_LANG_FLAG_4 (NODE) -/* In a VAR_DECL, means the variable is really an iterator. */ -#define ITERATOR_P(D) (DECL_LANG_FLAG_4(D)) - -/* In a VAR_DECL for an iterator, means we are within - an explicit loop over that iterator. */ -#define ITERATOR_BOUND_P(NODE) ((NODE)->common.readonly_flag) /* in c-lang.c and objc-act.c */ extern tree lookup_interface PARAMS ((tree)); @@ -262,15 +256,6 @@ extern void process_init_element PARAMS ((tree)); extern void pedwarn_c99 PARAMS ((const char *, ...)) ATTRIBUTE_PRINTF_1; -/* in c-iterate.c */ -extern void init_iterators PARAMS ((void)); -extern void iterator_expand PARAMS ((tree)); -extern void iterator_for_loop_start PARAMS ((tree)); -extern void iterator_for_loop_end PARAMS ((tree)); -extern void iterator_for_loop_record PARAMS ((tree)); -extern void push_iterator_stack PARAMS ((void)); -extern void pop_iterator_stack PARAMS ((void)); - /* Set to 0 at beginning of a function definition, set to 1 if a return statement that specifies a return value is seen. */ |