]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
move TS_EXP to be a substructure of TS_TYPED
authorNathan Froyd <froydnj@codesourcery.com>
Wed, 25 May 2011 12:52:10 +0000 (12:52 +0000)
committerNathan Froyd <froydnj@gcc.gnu.org>
Wed, 25 May 2011 12:52:10 +0000 (12:52 +0000)
commitd9f8303fb6886eb46fa66c4a7595dc8219a52160
tree850c21e1d1ad635fe18c45a463e69c71a2247561
parentcdbf45414aecd8ec143a0f2634ba7c53b11053ca
move TS_EXP to be a substructure of TS_TYPED

move TS_EXP to be a substructure of TS_TYPED
gcc/
* tree.h (struct tree_exp): Inherit from struct tree_typed.
* tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED
instead of TS_COMMON.

gcc/lto/
* lto.c (lto_ft_typed): New function.
(lto_ft_common): Call it.
(lto_ft_constructor): Likewise.
(lto_ft_expr): Likewise.
(lto_fixup_prevailing_decls): Check for TS_COMMON before accessing
TREE_CHAIN.

From-SVN: r174192
gcc/ChangeLog
gcc/lto/ChangeLog
gcc/lto/lto.c
gcc/tree.c
gcc/tree.h