mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-24 11:35:31 +08:00
* print-tree.c (print_node_brief, print_node): Print sign of Inf.
From-SVN: r117506
This commit is contained in:
parent
0a08751870
commit
a192f4ae53
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user