aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2013-12-19 09:13:13 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2013-12-19 09:13:13 +0000
commitef39eedf9b5aa0f5d07e5101389529a7a5a39f37 (patch)
tree80a4a9aa0b56cedf5cece77b36017da2c8f9c219
parentcc1719e8a062e8634c86d7c79868252463907adf (diff)
downloadgcc-ef39eedf9b5aa0f5d07e5101389529a7a5a39f37.zip
gcc-ef39eedf9b5aa0f5d07e5101389529a7a5a39f37.tar.gz
gcc-ef39eedf9b5aa0f5d07e5101389529a7a5a39f37.tar.bz2
print-tree.c (print_node): Print no_force_blk_flag for all types.
* print-tree.c (print_node) <case tcc_type>: Print no_force_blk_flag for all types. From-SVN: r206107
-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 5cd1422..e4bb6b7 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 1f4bf22..f4a98d5 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);