summaryrefslogtreecommitdiffstats
path: root/gcc/cexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cexp.c')
-rw-r--r--gcc/cexp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cexp.c b/gcc/cexp.c
index 82fcc795765..fc4d7fce861 100644
--- a/gcc/cexp.c
+++ b/gcc/cexp.c
@@ -2029,9 +2029,9 @@ initialize_random_junk ()
* refer to them.
*/
for (i = 'a'; i <= 'z'; i++) {
- ++is_idchar[toupper(i)];
+ ++is_idchar[TOUPPER(i)];
++is_idchar[i];
- ++is_idstart[toupper(i)];
+ ++is_idstart[TOUPPER(i)];
++is_idstart[i];
}
for (i = '0'; i <= '9'; i++)
OpenPOWER on IntegriCloud