diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 23c3b70b563e..fde41c8dbba1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,20 @@ +2010-12-03 Laurynas Biveinis + + * tree.h (struct call_expr_arg_iterator_d): Remove GTY tag. + (const_call_expr_arg_iterator_d): Likewise. + (expanded_location): Likewise. + * c-tree.h (struct c_arg_tag_d): Likewise. + * dwarf2out.c (struct cfa_loc): Likewise. + (struct skeleton_chain_struct): Likewise. + * except.c (struct ttypes_filter): Likewise. + * cselib.h (struct cselib_val_struct): Likewise. + (elt_loc_list): Likewise. + (elt_list): Likewise. + * varasm.c (struct addr_const): Likewise. + * tree-flow.h (struct edge_prediction): Likewise. + (struct int_tree_map): Likewise. + (struct _edge_var_map): Likewise. + 2010-12-02 H.J. Lu PR target/46768 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c747696ef231..853926c7e907 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2010-12-03 Laurynas Biveinis + + * gcc-interface/decl.c (struct subst_pair_d): Remove GTY tag. + (variant_desc_d): Likewise. + 2010-12-01 Joseph Myers * gcc-interface/misc.c (flag_compare_debug, flag_stack_check): diff --git a/gcc/ada/gcc-interface/decl.c b/gcc/ada/gcc-interface/decl.c index 262ee5de9da4..8980bb2bf8b5 100644 --- a/gcc/ada/gcc-interface/decl.c +++ b/gcc/ada/gcc-interface/decl.c @@ -97,7 +97,7 @@ static struct incomplete *defer_limited_with; static int defer_finalize_level = 0; static VEC (tree,heap) *defer_finalize_list; -typedef struct GTY(()) subst_pair_d { +typedef struct subst_pair_d { tree discriminant; tree replacement; } subst_pair; @@ -105,7 +105,7 @@ typedef struct GTY(()) subst_pair_d { DEF_VEC_O(subst_pair); DEF_VEC_ALLOC_O(subst_pair,heap); -typedef struct GTY(()) variant_desc_d { +typedef struct variant_desc_d { /* The type of the variant. */ tree type; diff --git a/gcc/c-tree.h b/gcc/c-tree.h index 64e784407f13..7bf3bc0c1726 100644 --- a/gcc/c-tree.h +++ b/gcc/c-tree.h @@ -294,7 +294,7 @@ enum c_declarator_kind { cdk_attrs }; -typedef struct GTY(()) c_arg_tag_d { +typedef struct c_arg_tag_d { /* The argument name. */ tree id; /* The type of the argument. */ diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c167e9434569..bfbdfc26cb07 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2010-12-03 Laurynas Biveinis + + * cp-tree.h (struct aggr_init_expr_arg_iterator_d): Remove GTY + tag. + 2010-12-02 Nicola Pero * parser.c (cp_parser_objc_throw_statement): Use diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index 23f594c801b9..59342e311577 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -2840,7 +2840,7 @@ extern void decl_shadowed_for_var_insert (tree, tree); /* Abstract iterators for AGGR_INIT_EXPRs. */ /* Structure containing iterator state. */ -typedef struct GTY (()) aggr_init_expr_arg_iterator_d { +typedef struct aggr_init_expr_arg_iterator_d { tree t; /* the aggr_init_expr */ int n; /* argument count */ int i; /* next argument index */ diff --git a/gcc/cselib.h b/gcc/cselib.h index 4259e396fdf7..5964a4487ceb 100644 --- a/gcc/cselib.h +++ b/gcc/cselib.h @@ -20,7 +20,7 @@ along with GCC; see the file COPYING3. If not see . */ /* Describe a value. */ -typedef struct GTY(()) cselib_val_struct { +typedef struct cselib_val_struct { /* The hash value. */ unsigned int hash; @@ -42,7 +42,7 @@ typedef struct GTY(()) cselib_val_struct { } cselib_val; /* A list of rtl expressions that hold the same value. */ -struct GTY(()) elt_loc_list { +struct elt_loc_list { /* Next element in the list. */ struct elt_loc_list *next; /* An rtl expression that holds the value. */ @@ -52,7 +52,7 @@ struct GTY(()) elt_loc_list { }; /* A list of cselib_val structures. */ -struct GTY(()) elt_list { +struct elt_list { struct elt_list *next; cselib_val *elt; }; diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 04764ba7dfb9..75faec5e28ae 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -282,7 +282,7 @@ dw_cfi_node; It can now be either REG + CFA_OFFSET or *(REG + BASE_OFFSET) + CFA_OFFSET. Instead of passing around REG and OFFSET, we pass a copy of this structure. */ -typedef struct GTY(()) cfa_loc { +typedef struct cfa_loc { HOST_WIDE_INT offset; HOST_WIDE_INT base_offset; unsigned int reg; @@ -5879,7 +5879,7 @@ typedef struct GTY(()) limbo_die_struct { } limbo_die_node; -typedef struct GTY(()) skeleton_chain_struct +typedef struct skeleton_chain_struct { dw_die_ref old_die; dw_die_ref new_die; diff --git a/gcc/except.c b/gcc/except.c index 2912caeaa0d3..2a25a3bd5b3f 100644 --- a/gcc/except.c +++ b/gcc/except.c @@ -681,7 +681,7 @@ lookup_type_for_runtime (tree type) /* Represent an entry in @TTypes for either catch actions or exception filter actions. */ -struct GTY(()) ttypes_filter { +struct ttypes_filter { tree t; int filter; }; diff --git a/gcc/input.h b/gcc/input.h index 399a685423a0..592906420906 100644 --- a/gcc/input.h +++ b/gcc/input.h @@ -37,7 +37,7 @@ extern GTY(()) struct line_maps *line_table; extern char builtins_location_check[(BUILTINS_LOCATION < RESERVED_LOCATION_COUNT) ? 1 : -1]; -typedef struct GTY (()) +typedef struct { /* The name of the source file involved. */ const char *file; diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index c2702dc87b5d..1486e33aeba3 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -289,7 +289,7 @@ static inline int get_lineno (const_gimple); /*--------------------------------------------------------------------------- Structure representing predictions in tree level. ---------------------------------------------------------------------------*/ -struct GTY((chain_next ("%h.ep_next"))) edge_prediction { +struct edge_prediction { struct edge_prediction *ep_next; edge ep_edge; enum br_predictor ep_predictor; @@ -303,8 +303,7 @@ static inline void set_phi_nodes (basic_block, gimple_seq); /*--------------------------------------------------------------------------- Global declarations ---------------------------------------------------------------------------*/ -struct GTY(()) int_tree_map { - +struct int_tree_map { unsigned int uid; tree to; }; @@ -533,7 +532,7 @@ extern bool gimple_check_call_args (gimple); /* In tree-ssa.c */ /* Mapping for redirected edges. */ -struct GTY(()) _edge_var_map { +struct _edge_var_map { tree result; /* PHI result. */ tree def; /* PHI arg definition. */ source_location locus; /* PHI arg location. */ diff --git a/gcc/tree.h b/gcc/tree.h index 4995b4384c4b..8ba204497200 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -5599,13 +5599,13 @@ tree_operand_length (const_tree node) defined by this point. */ /* Structure containing iterator state. */ -typedef struct GTY (()) call_expr_arg_iterator_d { +typedef struct call_expr_arg_iterator_d { tree t; /* the call_expr */ int n; /* argument count */ int i; /* next argument index */ } call_expr_arg_iterator; -typedef struct GTY (()) const_call_expr_arg_iterator_d { +typedef struct const_call_expr_arg_iterator_d { const_tree t; /* the call_expr */ int n; /* argument count */ int i; /* next argument index */ diff --git a/gcc/varasm.c b/gcc/varasm.c index 921ee2e1d290..da494d69ad86 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -2540,7 +2540,7 @@ assemble_real (REAL_VALUE_TYPE d, enum machine_mode mode, unsigned int align) Store them both in the structure *VALUE. EXP must be reducible. */ -struct GTY(()) addr_const { +struct addr_const { rtx base; HOST_WIDE_INT offset; };