* print-tree.c (print_node_brief, print_node): Print sign of Inf.

From-SVN: r117506
This commit is contained in:
J"orn Rennecke 2006-10-06 15:59:47 +00:00 committed by Joern Rennecke
parent 0a08751870
commit a192f4ae53
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2006-10-06 J"orn Rennecke <joern.rennecke@st.com>
* print-tree.c (print_node_brief, print_node): Print sign of Inf.
2006-10-06 J"orn Rennecke <joern.rennecke@st.com>
* config/sh/sh.h (LIBGCC2_DOUBLE_TYPE_SIZE): Define.

View File

@ -138,7 +138,7 @@ print_node_brief (FILE *file, const char *prefix, tree node, int indent)
d = TREE_REAL_CST (node);
if (REAL_VALUE_ISINF (d))
fprintf (file, " Inf");
fprintf (file, REAL_VALUE_NEGATIVE (d) ? " -Inf" : " Inf");
else if (REAL_VALUE_ISNAN (d))
fprintf (file, " Nan");
else
@ -709,7 +709,7 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
d = TREE_REAL_CST (node);
if (REAL_VALUE_ISINF (d))
fprintf (file, " Inf");
fprintf (file, REAL_VALUE_NEGATIVE (d) ? " -Inf" : " Inf");
else if (REAL_VALUE_ISNAN (d))
fprintf (file, " Nan");
else