aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 874d567..1737ae5 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -1657,7 +1657,7 @@ asm_operand_ok (op, constraint)
proper matching constraint, but we can't actually fail
the check if they didn't. Indicate that results are
inconclusive. */
- while (*constraint >= '0' && *constraint <= '9')
+ while (ISDIGIT (*constraint))
constraint++;
result = -1;
break;