summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/print-tree.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-12-21 18:47:00 +0000
committerpfg <pfg@FreeBSD.org>2013-12-21 18:47:00 +0000
commit68205669abdad29d13f7e6b34f483ac1298065ed (patch)
treeb0b89f0ab157d77eed267e3b82dd3ee8ed9e980b /contrib/gcc/print-tree.c
parent8f82fe8c1f4a70975704e71ccca87132e0d9af6c (diff)
downloadFreeBSD-src-68205669abdad29d13f7e6b34f483ac1298065ed.zip
FreeBSD-src-68205669abdad29d13f7e6b34f483ac1298065ed.tar.gz
MFC r258017, r258429, r258748, r258817:
Merge updates from FSF pre4.3 GCC inspired on Apple's gcc: Updates to libiberty and mangling. New align attribute. Merge Apple updates to libstdc++.
Diffstat (limited to 'contrib/gcc/print-tree.c')
-rw-r--r--contrib/gcc/print-tree.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/contrib/gcc/print-tree.c b/contrib/gcc/print-tree.c
index 57b07ac..ef87ab6 100644
--- a/contrib/gcc/print-tree.c
+++ b/contrib/gcc/print-tree.c
@@ -439,17 +439,15 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
|| DECL_INLINE (node) || DECL_BUILT_IN (node))
indent_to (file, indent + 3);
- if (TREE_CODE (node) != FUNCTION_DECL)
- {
- if (DECL_USER_ALIGN (node))
- fprintf (file, " user");
-
- fprintf (file, " align %d", DECL_ALIGN (node));
- if (TREE_CODE (node) == FIELD_DECL)
- fprintf (file, " offset_align " HOST_WIDE_INT_PRINT_UNSIGNED,
- DECL_OFFSET_ALIGN (node));
- }
- else if (DECL_BUILT_IN (node))
+ if (DECL_USER_ALIGN (node))
+ fprintf (file, " user");
+
+ fprintf (file, " align %d", DECL_ALIGN (node));
+ if (TREE_CODE (node) == FIELD_DECL)
+ fprintf (file, " offset_align " HOST_WIDE_INT_PRINT_UNSIGNED,
+ DECL_OFFSET_ALIGN (node));
+
+ if (TREE_CODE (node) == FUNCTION_DECL && DECL_BUILT_IN (node))
{
if (DECL_BUILT_IN_CLASS (node) == BUILT_IN_MD)
fprintf (file, " built-in BUILT_IN_MD %d", DECL_FUNCTION_CODE (node));
OpenPOWER on IntegriCloud