diff options
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index a65bfb5e0b6..95d5cdcb1bd 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -4489,15 +4489,14 @@ clean_symbol_name (p) char *p; { for (; *p; p++) - if (! (ISDIGIT(*p) + if (! (ISALNUM (*p) #ifndef NO_DOLLAR_IN_LABEL /* this for `$'; unlikely, but... -- kr */ || *p == '$' #endif #ifndef NO_DOT_IN_LABEL /* this for `.'; unlikely, but... */ || *p == '.' #endif - || ISUPPER (*p) - || ISLOWER (*p))) + )) *p = '_'; } |