+2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
+
+ 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.
+
2011-05-30 Richard Sandiford <rdsandiford@googlemail.com>
* config.gcc: Keep obselete list sorted.
+2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org>
+
+ 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.
+
2011-05-27 Jakub Jelinek <jakub@redhat.com>
PR c++/49165
/* Identifier part common to the C front ends. Inherits from
tree_identifier, despite appearances. */
struct GTY(()) c_common_identifier {
- struct tree_typed common;
+ struct tree_common common;
struct cpp_hashnode node;
};
case TS_SSA_NAME:
case TS_CONSTRUCTOR:
case TS_EXP:
- case TS_IDENTIFIER:
case TS_STATEMENT_LIST:
MARK_TS_TYPED (code);
break;
+ case TS_IDENTIFIER:
case TS_DECL_MINIMAL:
case TS_TYPE_COMMON:
case TS_LIST:
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;
};
ultimate_transparent_alias_target (&id);
if (id != id_orig)
name = IDENTIFIER_POINTER (id);
+ gcc_assert (! TREE_CHAIN (id));
}
assemble_name_raw (file, name);