diff options
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 4bdb1513b90..747001bb1aa 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -139,8 +139,8 @@ print_code (code) register const char *p1; for (p1 = GET_RTX_NAME (code); *p1; p1++) { - if (*p1 >= 'a' && *p1 <= 'z') - putchar (*p1 + 'A' - 'a'); + if (ISLOWER(*p1)) + putchar (toupper(*p1)); else putchar (*p1); } |