Commit b6777fea by Richard Henderson Committed by Richard Henderson

tree.h (struct tree_decl_common): Move align member earlier; move label_decl_uid member ...

* tree.h (struct tree_decl_common): Move align member earlier;
        move label_decl_uid member ...
        (struct tree_label_decl): ... here.
        (LABEL_DECL_UID): Update to match.

From-SVN: r151610
parent feb4e5ba
2009-09-10 Richard Henderson <rth@redhat.com> 2009-09-10 Richard Henderson <rth@redhat.com>
* tree.h (struct tree_decl_common): Move align member earlier;
move label_decl_uid member ...
(struct tree_label_decl): ... here.
(LABEL_DECL_UID): Update to match.
* tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH, * tree-cfg.c (dump_function_to_file): Dump eh tree with TDF_EH,
not TDF_DETAILS. not TDF_DETAILS.
......
...@@ -2652,15 +2652,16 @@ struct GTY(()) tree_decl_common { ...@@ -2652,15 +2652,16 @@ struct GTY(()) tree_decl_common {
/* DECL_OFFSET_ALIGN, used only for FIELD_DECLs. */ /* DECL_OFFSET_ALIGN, used only for FIELD_DECLs. */
unsigned int off_align : 8; unsigned int off_align : 8;
/* 24-bits unused. */
/* DECL_ALIGN. It should have the same size as TYPE_ALIGN. */
unsigned int align;
tree size_unit; tree size_unit;
tree initial; tree initial;
tree attributes; tree attributes;
tree abstract_origin; tree abstract_origin;
/* DECL_ALIGN. It should have the same size as TYPE_ALIGN. */
unsigned int align;
int label_decl_uid;
/* Points to a structure whose details depend on the language in use. */ /* Points to a structure whose details depend on the language in use. */
struct lang_decl *lang_specific; struct lang_decl *lang_specific;
}; };
...@@ -2783,21 +2784,22 @@ struct GTY(()) tree_field_decl { ...@@ -2783,21 +2784,22 @@ struct GTY(()) tree_field_decl {
tree qualifier; tree qualifier;
tree bit_offset; tree bit_offset;
tree fcontext; tree fcontext;
}; };
/* A numeric unique identifier for a LABEL_DECL. The UID allocation is /* A numeric unique identifier for a LABEL_DECL. The UID allocation is
dense, unique within any one function, and may be used to index arrays. dense, unique within any one function, and may be used to index arrays.
If the value is -1, then no UID has been assigned. */ If the value is -1, then no UID has been assigned. */
#define LABEL_DECL_UID(NODE) \ #define LABEL_DECL_UID(NODE) \
(LABEL_DECL_CHECK (NODE)->decl_common.label_decl_uid) (LABEL_DECL_CHECK (NODE)->label_decl.label_decl_uid)
/* In LABEL_DECL nodes, nonzero means that an error message about /* In LABEL_DECL nodes, nonzero means that an error message about
jumping into such a binding contour has been printed for this label. */ jumping into such a binding contour has been printed for this label. */
#define DECL_ERROR_ISSUED(NODE) (LABEL_DECL_CHECK (NODE)->decl_common.decl_flag_0) #define DECL_ERROR_ISSUED(NODE) \
(LABEL_DECL_CHECK (NODE)->decl_common.decl_flag_0)
struct GTY(()) tree_label_decl { struct GTY(()) tree_label_decl {
struct tree_decl_with_rtl common; struct tree_decl_with_rtl common;
int label_decl_uid;
}; };
struct GTY(()) tree_result_decl { struct GTY(()) tree_result_decl {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment