From 3d78845f1c01cb26160e72afd32356af50a64b37 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 13 Jan 2017 12:54:16 +0000 Subject: [PATCH] tree-pretty-print.c (dump_generic_node): Fix inverted condition for dumping GIMPLE INTEGER_CSTs. 2017-01-13 Richard Biener * tree-pretty-print.c (dump_generic_node): Fix inverted condition for dumping GIMPLE INTEGER_CSTs. From-SVN: r244433 --- gcc/ChangeLog | 5 +++++ gcc/tree-pretty-print.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a941be7bfe0..21faa5884cb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-13 Richard Biener + + * tree-pretty-print.c (dump_generic_node): Fix inverted condition + for dumping GIMPLE INTEGER_CSTs. + 2017-01-13 Rainer Orth * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__ diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index ebce67ec3e1..d823c2e1245 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -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'); -- 2.30.2