diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 16:51:17 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-11-11 16:51:17 +0000 |
commit | 3cfd65257d3921ace74869698e8f856f5af9ff56 (patch) | |
tree | e28b9e7ff1f4eb4f124e3fc0bbcd061cb14d9a85 /gcc/tree-pretty-print.c | |
parent | 3b0b2309f34d42fb6983d1ce89a0d2b541bda68c (diff) | |
download | gcc-3cfd65257d3921ace74869698e8f856f5af9ff56.tar.gz |
* tree-pretty-print.c (dump_generic_node): Print sign of Inf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118695 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-pretty-print.c')
-rw-r--r-- | gcc/tree-pretty-print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-pretty-print.c b/gcc/tree-pretty-print.c index c2a47f0c712..77d1fb91b71 100644 --- a/gcc/tree-pretty-print.c +++ b/gcc/tree-pretty-print.c @@ -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 |