From: Richard Biener Date: Fri, 13 Jan 2017 12:54:16 +0000 (+0000) Subject: tree-pretty-print.c (dump_generic_node): Fix inverted condition for dumping GIMPLE... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d78845f1c01cb26160e72afd32356af50a64b37;p=gcc.git 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 --- 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');