diff options
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r-- | gcc/fold-const.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c index e25b67fc76d..07184b937ce 100644 --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -1127,8 +1127,7 @@ real_hex_to_f (s, mode) shcount = 0; while ((c = *p) != '\0') { - if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'F') - || (c >= 'a' && c <= 'f')) + if (ISXDIGIT (c)) { k = c & CHARMASK; if (k >= 'a' && k <= 'f') |