aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
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 ");