projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d300f6b
)
* real.c (real_nan): Remove neg.
author
Kazu Hirata
<kazu@cs.umass.edu>
Wed, 9 Mar 2005 07:16:54 +0000
(07:16 +0000)
committer
Kazu Hirata
<kazu@gcc.gnu.org>
Wed, 9 Mar 2005 07:16:54 +0000
(07:16 +0000)
From-SVN: r96169
gcc/ChangeLog
patch
|
blob
|
history
gcc/real.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 7a2c3aa3d3ce12b2fbe8847ebe4775d3320a8152..4fee0cfc9202e0b5e2374ed1421657663ea88ad7 100644
(file)
--- a/
gcc/ChangeLog
+++ b/
gcc/ChangeLog
@@
-14,6
+14,8
@@
* loop-unroll.c (analyze_insns_in_loop): Remove preheader.
+ * real.c (real_nan): Remove neg.
+
2005-03-08 Jeff Law <law@redhat.com>
* tree-cfg.c (cleanup_control_flow): If removal of a computed
diff --git
a/gcc/real.c
b/gcc/real.c
index 7aceb3df0388a866c1c7063560f7c328337fa3b9..5d1a79f57af2f3369821a3f2220f28b1002c33ef 100644
(file)
--- a/
gcc/real.c
+++ b/
gcc/real.c
@@
-2117,7
+2117,6
@@
real_nan (REAL_VALUE_TYPE *r, const char *str, int quiet,
else
{
int base = 10, d;
- bool neg = false;
memset (r, 0, sizeof (*r));
r->cl = rvc_nan;
@@
-2127,7
+2126,7
@@
real_nan (REAL_VALUE_TYPE *r, const char *str, int quiet,
while (ISSPACE (*str))
str++;
if (*str == '-')
- str++
, neg = true
;
+ str++;
else if (*str == '+')
str++;
if (*str == '0')