Commit 44b9837c by Richard Guenther Committed by Richard Biener

tree-pretty-print.c (dump_generic_node): Properly test the result of exact_log2.

2012-07-05  Richard Guenther  <rguenther@suse.de>

	* tree-pretty-print.c (dump_generic_node): Properly test
	the result of exact_log2.

From-SVN: r189291
parent db2c8e60
2012-07-05 Richard Guenther <rguenther@suse.de>
* tree-pretty-print.c (dump_generic_node): Properly test
the result of exact_log2.
2012-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390-protos.h (s390_expand_movmem) * config/s390/s390-protos.h (s390_expand_movmem)
......
...@@ -743,7 +743,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, ...@@ -743,7 +743,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
? "unsigned long long" ? "unsigned long long"
: "signed long long")); : "signed long long"));
else if (TYPE_PRECISION (node) >= CHAR_TYPE_SIZE else if (TYPE_PRECISION (node) >= CHAR_TYPE_SIZE
&& exact_log2 (TYPE_PRECISION (node))) && exact_log2 (TYPE_PRECISION (node)) != -1)
{ {
pp_string (buffer, (TYPE_UNSIGNED (node) ? "uint" : "int")); pp_string (buffer, (TYPE_UNSIGNED (node) ? "uint" : "int"));
pp_decimal_int (buffer, TYPE_PRECISION (node)); pp_decimal_int (buffer, TYPE_PRECISION (node));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment