* ggc-common.c: Add missing blanks.
* print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
* tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
From-SVN: r33232
Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+ * ggc-common.c: Add missing blanks.
+ * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
+ * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
+
* stmt.c (mark_case_node): New function.
(mark_case_nesting): Call it.
rtx *base;
int nelt;
{
- ggc_add_root (base, nelt, sizeof(rtx), ggc_mark_rtx_ptr);
+ ggc_add_root (base, nelt, sizeof (rtx), ggc_mark_rtx_ptr);
}
/* Register an array of trees as a GC root. */
tree *base;
int nelt;
{
- ggc_add_root (base, nelt, sizeof(tree), ggc_mark_tree_ptr);
+ ggc_add_root (base, nelt, sizeof (tree), ggc_mark_tree_ptr);
}
/* Register a varray of rtxs as a GC root. */
indent_to (file, indent + 3);
if (TREE_CODE (node) != FUNCTION_DECL)
- fprintf (file, " align %d", DECL_ALIGN (node));
+ {
+ fprintf (file, " align %d", DECL_ALIGN (node));
+ if (TREE_CODE (node) == FIELD_DECL)
+ fprintf (file, " offset_align %d", DECL_OFFSET_ALIGN (node));
+ }
else if (DECL_INLINE (node))
{
fprintf (file, " frame_size ");
#define DECL_SIZE_UNIT(NODE) (DECL_CHECK (NODE)->decl.size_unit)
/* Holds the alignment required for the datum. */
#define DECL_ALIGN(NODE) (DECL_CHECK (NODE)->decl.u1.a.align)
-/* For FIELD_DECLs, holds the alignment that DECL_FEILD_OFFSET has. */
+/* For FIELD_DECLs, holds the alignment that DECL_FIELD_OFFSET has. */
#define DECL_OFFSET_ALIGN(NODE) (FIELD_DECL_CHECK (NODE)->decl.u1.a.off_align)
/* Holds the machine mode corresponding to the declaration of a variable or
field. Always equal to TYPE_MODE (TREE_TYPE (decl)) except for a