summaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-16 22:20:44 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-16 22:20:44 +0000
commitfa8da10b7787d6a0accd7ea735a570caffb0a314 (patch)
tree5e3393cc1483b31e95e58de4c913fd832b1ce906 /gcc/genopinit.c
parent41e9055d809812e6b227a910add838f70503bc21 (diff)
downloadgcc-fa8da10b7787d6a0accd7ea735a570caffb0a314.tar.gz
* system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
CTYPE_CONV in all ctype macros. * cccp.c (initialize_char_syntax): Use uppercase ctype macro from system.h. * cexp.y (initialize_random_junk): Likewise. * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise. * i370.c (handle_pragma): Likewise. * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise. * v850.c (override_options): Likewise. * doprint.c (_doprnt): Likewise. * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files): Likewise. * fixinc/server.c (load_data): Likewise. * fold-const.c (real_hex_to_f): Likewise. * genattr.c (write_upcase, gen_attr): Likewise. * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr, write_upcase): Likewise. * genemit.c (print_code): Likewise. * genopinit.c (gen_insn): Likewise. * genpeep.c (print_code): Likewise. * genrecog.c (print_code): Likewise. * optabs.c (init_libfuncs): Likewise. ch: * lex.c (maybe_downcase, getlc, handle_generic_pragma, check_newline): Likewise. f: * bad.c (ffebad_finish): Likewise. * fini.c (main): Likewise. * intrin.c (ffeintrin_init_0): Likewise. * lex.c (ffelex_hash_): Likewise. * src.c (ffesrc_init_1): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29463 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index f364a012e06..58846916f8c 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -195,7 +195,7 @@ gen_insn (insn)
for (i = ((int) MAX_MACHINE_MODE) - 1; i >= 0; i--)
{
for (p = GET_MODE_NAME(i), q = np; *p; p++, q++)
- if (tolower ((unsigned char)*p) != *q)
+ if (TOLOWER (*p) != *q)
break;
if (*p == 0
@@ -249,11 +249,11 @@ gen_insn (insn)
break;
case 'a':
for (np = GET_MODE_NAME(m1); *np; np++)
- printf ("%c", tolower ((unsigned char)*np));
+ putchar (TOLOWER (*np));
break;
case 'b':
for (np = GET_MODE_NAME(m2); *np; np++)
- printf ("%c", tolower ((unsigned char)*np));
+ putchar (TOLOWER (*np));
break;
case 'A':
printf ("%smode", GET_MODE_NAME(m1));
@@ -266,7 +266,7 @@ gen_insn (insn)
break;
case 'C':
for (np = GET_RTX_NAME(op); *np; np++)
- printf ("%c", toupper ((unsigned char)*np));
+ putchar (TOUPPER (*np));
break;
}
}