diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2005-03-09 07:16:54 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2005-03-09 07:16:54 +0000 |
commit | e140d617c5f1d880dec74f5036d3a5c1b374311d (patch) | |
tree | 0718b3810f4ff9fa63274bdf554a6dd397897f69 | |
parent | d300f6bb4ecb04419af6d28bf2619b5104601beb (diff) | |
download | gcc-e140d617c5f1d880dec74f5036d3a5c1b374311d.zip gcc-e140d617c5f1d880dec74f5036d3a5c1b374311d.tar.gz gcc-e140d617c5f1d880dec74f5036d3a5c1b374311d.tar.bz2 |
* real.c (real_nan): Remove neg.
From-SVN: r96169
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/real.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7a2c3aa..4fee0cf 100644 --- 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 @@ -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') |