summaryrefslogtreecommitdiff
path: root/gcc/sched-vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sched-vis.c')
-rw-r--r--gcc/sched-vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-vis.c b/gcc/sched-vis.c
index 8949421c5ae..dbfbf261575 100644
--- a/gcc/sched-vis.c
+++ b/gcc/sched-vis.c
@@ -578,7 +578,7 @@ print_value (buf, x, verbose)
if (REGNO (x) < FIRST_PSEUDO_REGISTER)
{
int c = reg_names[REGNO (x)][0];
- if (c >= '0' && c <= '9')
+ if (ISDIGIT (c))
cur = safe_concat (buf, cur, "%");
cur = safe_concat (buf, cur, reg_names[REGNO (x)]);