From 4f60111fd430b3ccaf89acd7a869ad2e6c6b7bf6 Mon Sep 17 00:00:00 2001 From: Nathan Froyd Date: Mon, 30 May 2011 16:42:05 +0000 Subject: re PR c/4910 (imacat ) fix PR bootstrap/4910 gcc/ PR bootstrap/49190 Revert: 2011-05-26 Nathan Froyd * 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 * c-common.h (struct c_common_identifier): Inherit from tree_typed, not tree_common. From-SVN: r174445 --- gcc/tree.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index 02a9994..c7338ba 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -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; }; -- cgit v1.1