diff options
author | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-05-30 16:42:05 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2011-05-30 16:42:05 +0000 |
commit | 4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6 (patch) | |
tree | 5b3b7820ad927d9f770f301627882613f4e7b180 /gcc/tree.h | |
parent | b821466067dd32988497bc8166fe0ae13f9a3b8e (diff) | |
download | gcc-4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6.zip gcc-4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6.tar.gz gcc-4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6.tar.bz2 |
re PR c/4910 (imacat <imacat@mail.imacat.idv.tw>)
fix PR bootstrap/4910
gcc/
PR bootstrap/49190
Revert:
2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
* 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/
PR bootstrap/49190
Revert:
2011-05-26 Nathan Froyd <froydnj@codesourcery.com>
* c-common.h (struct c_common_identifier): Inherit from tree_typed,
not tree_common.
From-SVN: r174445
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1545,11 +1545,11 @@ struct GTY(()) tree_vector { pointer, and vice versa. */ #define HT_IDENT_TO_GCC_IDENT(NODE) \ - ((tree) ((char *) (NODE) - sizeof (struct tree_typed))) + ((tree) ((char *) (NODE) - sizeof (struct tree_common))) #define GCC_IDENT_TO_HT_IDENT(NODE) (&((struct tree_identifier *) (NODE))->id) struct GTY(()) tree_identifier { - struct tree_typed typed; + struct tree_common common; struct ht_identifier id; }; |