tree-pretty-print.c (dump_generic_node): Fix inverted condition for dumping GIMPLE...
authorRichard Biener <rguenther@suse.de>
Fri, 13 Jan 2017 12:54:16 +0000 (12:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 13 Jan 2017 12:54:16 +0000 (12:54 +0000)
2017-01-13  Richard Biener  <rguenther@suse.de>

* tree-pretty-print.c (dump_generic_node): Fix inverted condition
for dumping GIMPLE INTEGER_CSTs.

From-SVN: r244433

gcc/ChangeLog
gcc/tree-pretty-print.c

index a941be7bfe0000ad412f0429895c42738e247424..21faa5884cb7ec2b8c8790e0e6b4508b918b8cc1 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-13  Richard Biener  <rguenther@suse.de>
+
+       * tree-pretty-print.c (dump_generic_node): Fix inverted condition
+       for dumping GIMPLE INTEGER_CSTs.
+
 2017-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__
index ebce67ec3e16930b118f20b013382b55a90ab833..d823c2e124517cd3db6a533856b852d1bcc48420 100644 (file)
@@ -1717,10 +1717,10 @@ dump_generic_node (pretty_printer *pp, tree node, int spc, int flags,
          pp_string (pp, pp_buffer (pp)->digit_buffer);
        }
       if ((flags & TDF_GIMPLE)
-         && (POINTER_TYPE_P (TREE_TYPE (node))
-             || (TYPE_PRECISION (TREE_TYPE (node))
-                 < TYPE_PRECISION (integer_type_node))
-             || exact_log2 (TYPE_PRECISION (TREE_TYPE (node))) == -1))
+         && (POINTER_TYPE_P (TREE_TYPE (node))
+               || (TYPE_PRECISION (TREE_TYPE (node))
+                   < TYPE_PRECISION (integer_type_node))
+               || exact_log2 (TYPE_PRECISION (TREE_TYPE (node))) == -1))
        {
          if (TYPE_UNSIGNED (TREE_TYPE (node)))
            pp_character (pp, 'u');