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
This commit is contained in:
Kaveh R. Ghazi 2006-11-11 16:51:17 +00:00 committed by Kaveh Ghazi
parent 992c31e623
commit 89fa98d6b9
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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>
* predict.c (predict_loops): Kill RTL variant.

View file

@ -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)
d = TREE_REAL_CST (node);
if (REAL_VALUE_ISINF (d))
pp_string (buffer, " Inf");
pp_string (buffer, REAL_VALUE_NEGATIVE (d) ? " -Inf" : " Inf");
else if (REAL_VALUE_ISNAN (d))
pp_string (buffer, " Nan");
else