aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2000-04-18 19:35:09 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2000-04-18 15:35:09 -0400
commitaa4661f82360b21f5048823019740e80ed4efbe3 (patch)
treedd8c1f1989f32d60d3a010e72f654da549578dea /gcc/print-tree.c
parent0876ac08ad284ff3d2797e5de3d44b07bfac32fd (diff)
downloadgcc-aa4661f82360b21f5048823019740e80ed4efbe3.zip
gcc-aa4661f82360b21f5048823019740e80ed4efbe3.tar.gz
gcc-aa4661f82360b21f5048823019740e80ed4efbe3.tar.bz2
ggc-common.c: Add missing blanks.
* 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
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 6439423..7ccf67e 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 ");