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:
parent
992c31e623
commit
89fa98d6b9
2 changed files with 5 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue