summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-19 09:13:13 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-19 09:13:13 +0000
commitc51f5ca52e4fe423bcde3f3231cdcd10099dd5a3 (patch)
tree80a4a9aa0b56cedf5cece77b36017da2c8f9c219 /gcc
parentf2d32ded5ce6cd5c7211258c4c5cdfe13e544758 (diff)
* print-tree.c (print_node) <case tcc_type>: Print no_force_blk_flag
for all types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206107 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/print-tree.c8
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5cd142256aca..e4bb6b724ed0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-19 Eric Botcazou <ebotcazou@adacore.com>
+
+ * print-tree.c (print_node) <case tcc_type>: Print no_force_blk_flag
+ for all types.
+
2013-12-19 Monk Chiang <sh.chiang04@gmail.com>
* common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 1f4bf222aa12..f4a98d564aed 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -583,16 +583,12 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
if (TYPE_UNSIGNED (node))
fputs (" unsigned", file);
- /* The no-force-blk flag is used for different things in
- different types. */
- if ((code == RECORD_TYPE
- || code == UNION_TYPE
- || code == QUAL_UNION_TYPE)
- && TYPE_NO_FORCE_BLK (node))
+ if (TYPE_NO_FORCE_BLK (node))
fputs (" no-force-blk", file);
if (TYPE_STRING_FLAG (node))
fputs (" string-flag", file);
+
if (TYPE_NEEDS_CONSTRUCTING (node))
fputs (" needs-constructing", file);