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/varasm.c | |
parent | b821466067dd32988497bc8166fe0ae13f9a3b8e (diff) | |
download | gcc-4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6.tar.gz |
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/varasm.c')
-rw-r--r-- | gcc/varasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 2d2284b8881..f46c21b3bde 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2296,6 +2296,7 @@ assemble_name (FILE *file, const char *name) ultimate_transparent_alias_target (&id); if (id != id_orig) name = IDENTIFIER_POINTER (id); + gcc_assert (! TREE_CHAIN (id)); } assemble_name_raw (file, name); |