Commit 89fa98d6 by Kaveh R. Ghazi Committed by Kaveh Ghazi

tree-pretty-print.c (dump_generic_node): Print sign of Inf.

	* tree-pretty-print.c (dump_generic_node): Print sign of Inf.

From-SVN: r118695
parent 992c31e6
2006-11-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* tree-pretty-print.c (dump_generic_node): Print sign of Inf.
2006-11-11 Jan Hubicka <jh@suse.cz> 2006-11-11 Jan Hubicka <jh@suse.cz>
* predict.c (predict_loops): Kill RTL variant. * predict.c (predict_loops): Kill RTL variant.
......
...@@ -752,7 +752,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags, ...@@ -752,7 +752,7 @@ dump_generic_node (pretty_printer *buffer, tree node, int spc, int flags,
#if !defined(REAL_IS_NOT_DOUBLE) || defined(REAL_ARITHMETIC) #if !defined(REAL_IS_NOT_DOUBLE) || defined(REAL_ARITHMETIC)
d = TREE_REAL_CST (node); d = TREE_REAL_CST (node);
if (REAL_VALUE_ISINF (d)) if (REAL_VALUE_ISINF (d))
pp_string (buffer, " Inf"); pp_string (buffer, REAL_VALUE_NEGATIVE (d) ? " -Inf" : " Inf");
else if (REAL_VALUE_ISNAN (d)) else if (REAL_VALUE_ISNAN (d))
pp_string (buffer, " Nan"); pp_string (buffer, " Nan");
else else
......
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