]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
print-tree.c (print_node): Print no_force_blk_flag for all types.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 19 Dec 2013 09:13:13 +0000 (09:13 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 19 Dec 2013 09:13:13 +0000 (09:13 +0000)
* print-tree.c (print_node) <case tcc_type>: Print no_force_blk_flag
for all types.

From-SVN: r206107

gcc/ChangeLog
gcc/print-tree.c

index 5cd142256aca7e4658d2b96d18e5b9bffdecc324..e4bb6b724ed091f8b27d4f576dc6c4bfb8d549eb 100644 (file)
@@ -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):
index 1f4bf222aa122072bded163fbe959689a949cd15..f4a98d564aed5b2c7bea2f203f8c5ca782efd41b 100644 (file)
@@ -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);