tree-pretty-print.c (dump_generic_node): Fix inverted condition for dumping GIMPLE INTEGER_CSTs.
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
This commit is contained in:
parent
c6ab906191
commit
3d78845f1c
2 changed files with 9 additions and 4 deletions
|
@ -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__
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue