diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2011-05-26 13:29:42 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-05-26 13:29:42 +0000 |
commit | a2fc3e63a7a37de2a277cd28a1d63c9fe7e3a067 (patch) | |
tree | 71e4e6c7963faa2886890a08d7637546b3e94f30 /gcc/tree.h | |
parent | b613992600ec23a017a1c1d2c82adf0fe06cdd92 (diff) | |
download | gcc-a2fc3e63a7a37de2a277cd28a1d63c9fe7e3a067.zip gcc-a2fc3e63a7a37de2a277cd28a1d63c9fe7e3a067.tar.gz gcc-a2fc3e63a7a37de2a277cd28a1d63c9fe7e3a067.tar.bz2 |
make TS_IDENTIFIER be a substructure of TS_TYPED
make TS_IDENTIFIER be a substructure of TS_TYPED
gcc/
* tree.h (struct tree_identifier): Inherit from tree_typed, not
tree_common.
(HT_IDENT_TO_GCC_IDENT): Adjust for said change.
* tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as
TS_BASE instead of TS_COMMON.
* varasm.c (assemble_name): Remove assert.
gcc/c-family/
* c-common.h (struct c_common_identifier): Inherit from tree_typed,
not tree_common.
From-SVN: r174286
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1541,11 +1541,11 @@ struct GTY(()) tree_vector { pointer, and vice versa. */ #define HT_IDENT_TO_GCC_IDENT(NODE) \ - ((tree) ((char *) (NODE) - sizeof (struct tree_common))) + ((tree) ((char *) (NODE) - sizeof (struct tree_typed))) #define GCC_IDENT_TO_HT_IDENT(NODE) (&((struct tree_identifier *) (NODE))->id) struct GTY(()) tree_identifier { - struct tree_common common; + struct tree_typed typed; struct ht_identifier id; }; |