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/function.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/function.c')
-rw-r--r-- | gcc/function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/function.c b/gcc/function.c index f549c77..249d715 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -1635,7 +1635,7 @@ instantiate_decls_1 (tree let) } /* Process all subblocks. */ - for (t = BLOCK_SUBBLOCKS (let); t; t = TREE_CHAIN (t)) + for (t = BLOCK_SUBBLOCKS (let); t; t = BLOCK_CHAIN (t)) instantiate_decls_1 (t); } @@ -3542,7 +3542,7 @@ setjmp_vars_warning (bitmap setjmp_crosses, tree block) " %<longjmp%> or %<vfork%>", decl); } - for (sub = BLOCK_SUBBLOCKS (block); sub; sub = TREE_CHAIN (sub)) + for (sub = BLOCK_SUBBLOCKS (block); sub; sub = BLOCK_CHAIN (sub)) setjmp_vars_warning (setjmp_crosses, sub); } |