aboutsummaryrefslogtreecommitdiff
path: root/gcc/stringpool.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stringpool.c')
-rw-r--r--gcc/stringpool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stringpool.c b/gcc/stringpool.c
index c28156c..b11651e 100644
--- a/gcc/stringpool.c
+++ b/gcc/stringpool.c
@@ -86,7 +86,7 @@ ggc_alloc_string (contents, length)
if (length == 0)
return empty_string;
- if (length == 1 && contents[0] >= '0' && contents[0] <= '9')
+ if (length == 1 && ISDIGIT (contents[0]))
return digit_string (contents[0] - '0');
obstack_grow0 (&string_stack, contents, length);