diff options
author | Richard Guenther <rguenther@suse.de> | 2007-11-25 14:26:10 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2007-11-25 14:26:10 +0000 |
commit | 87caf699bdbee02675437483d08bcfa742277a62 (patch) | |
tree | 4f90b0636e3c28f99068596b3f97669cdfe3b1b1 /gcc/c-decl.c | |
parent | f1c8c7eef7349f0aae539bd1b45875ac5bcbaede (diff) | |
download | gcc-87caf699bdbee02675437483d08bcfa742277a62.zip gcc-87caf699bdbee02675437483d08bcfa742277a62.tar.gz gcc-87caf699bdbee02675437483d08bcfa742277a62.tar.bz2 |
tree.h (struct tree_block): Move locus member next to flags.
2007-11-25 Richard Guenther <rguenther@suse.de>
* tree.h (struct tree_block): Move locus member next to
flags.
* c-decl.c (SCOPE_LIST_APPEND): Use BLOCK_CHAIN.
(SCOPE_LIST_CONCAT): Likewise.
(pop_scope): Likewise.
* function.c (instantiate_decls_1): Likewise.
(setjmp_vars_warning): Likewise.
* emit-rtl.c (set_used_decls): Likewise.
* tree-inline.c (add_lexical_block): Likewise.
cp/
decl.c (poplevel): Use BLOCK_CHAIN.
ada/
utils.c (gnat_pushlevel): Use BLOCK_CHAIN.
(gnat_poplevel): Likewise.
From-SVN: r130407
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index bcf20e0..e0eb450 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -375,7 +375,7 @@ static GTY((deletable)) struct c_binding *binding_freelist; struct c_scope *s_ = (scope); \ tree d_ = (decl); \ if (s_->list##_last) \ - TREE_CHAIN (s_->list##_last) = d_; \ + BLOCK_CHAIN (s_->list##_last) = d_; \ else \ s_->list = d_; \ s_->list##_last = d_; \ @@ -386,7 +386,7 @@ static GTY((deletable)) struct c_binding *binding_freelist; struct c_scope *t_ = (tscope); \ struct c_scope *f_ = (fscope); \ if (t_->to##_last) \ - TREE_CHAIN (t_->to##_last) = f_->from; \ + BLOCK_CHAIN (t_->to##_last) = f_->from; \ else \ t_->to = f_->from; \ t_->to##_last = f_->from##_last; \ @@ -693,7 +693,7 @@ pop_scope (void) TREE_USED (block) = 1; /* In each subblock, record that this is its superior. */ - for (p = scope->blocks; p; p = TREE_CHAIN (p)) + for (p = scope->blocks; p; p = BLOCK_CHAIN (p)) BLOCK_SUPERCONTEXT (p) = block; BLOCK_VARS (block) = 0; |