summaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-18 19:35:09 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-18 19:35:09 +0000
commit83598ce4558cfd656e4ffdc44bd2e8e51e6c76a3 (patch)
treedd8c1f1989f32d60d3a010e72f654da549578dea /gcc/print-tree.c
parentc8743edaf11f92528b37e60e937129fa6c7d32f7 (diff)
downloadgcc-83598ce4558cfd656e4ffdc44bd2e8e51e6c76a3.tar.gz
* ggc-common.c: Add missing blanks.
* print-tree.c (print_node): Print DECL_OFFSET_ALIGN. * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 6439423c89c..7ccf67e7d89 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -409,7 +409,11 @@ print_node (file, prefix, node, indent)
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 ");