]> gcc.gnu.org Git - gcc.git/commit - gcc/c-family/ChangeLog
make TS_BLOCK a substructure of TS_BASE
authorNathan Froyd <froydnj@codesourcery.com>
Thu, 26 May 2011 17:38:51 +0000 (17:38 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Thu, 26 May 2011 17:38:51 +0000 (17:38 +0000)
commit92e948a836d98e98a1721008795dfddbb47828a6
treed221c28a4588d4ee669bca17061040874f839eab
parentd74be3171290547f3311f959351e0c3afe7dcd21
make TS_BLOCK a substructure of TS_BASE

make TS_BLOCK a substructure of TS_BASE
gcc/
* tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as
TS_BASE instead of TS_COMMON.
(find_decls_types_r): Check for TS_TYPED structure before looking at
TREE_TYPE.
* tree.h (struct tree_block): Inherit from tree_base, not tree_common.
Add chain field.
(BLOCK_CHAIN): Use new chain field.

gcc/c-family/
* c-common.c (warning_candidate_p): Check for BLOCKs.

gcc/java/
* decl.c (poplevel): Don't access TREE_TYPE of BLOCKs.
* expr.c (build_jni_stub): Likewise.

From-SVN: r174300
gcc/ChangeLog
gcc/c-family/ChangeLog
gcc/c-family/c-common.c
gcc/java/ChangeLog
gcc/java/decl.c
gcc/java/expr.c
gcc/tree.c
gcc/tree.h
This page took 0.068765 seconds and 5 git commands to generate.