diff options
-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') |