summaryrefslogtreecommitdiff
path: root/gcc/config/i370
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/config/i370
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/config/i370')
-rw-r--r--gcc/config/i370/i370.c4
-rw-r--r--gcc/config/i370/i370.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/i370/i370.c b/gcc/config/i370/i370.c
index c999b5819b8..e6830277fda 100644
--- a/gcc/config/i370/i370.c
+++ b/gcc/config/i370/i370.c
@@ -976,7 +976,7 @@ handle_pragma (finput, node)
do {
*s++ = c;
c = getc (finput);
- } while (isalnum(c) || c == '_');
+ } while (ISALNUM(c) || c == '_');
if (c == '\n')
goto PRAGMA_WARNING;
*s = 0;
@@ -1014,7 +1014,7 @@ handle_pragma (finput, node)
}
*s++ = c;
c = getc (finput);
- if (isspace(c) || c == ')')
+ if (ISSPACE(c) || c == ')')
goto PRAGMA_WARNING;
} while (c != '"');
*s = 0;
diff --git a/gcc/config/i370/i370.h b/gcc/config/i370/i370.h
index d87369b07fc..45da9fa7c49 100644
--- a/gcc/config/i370/i370.h
+++ b/gcc/config/i370/i370.h
@@ -1138,7 +1138,7 @@ enum reg_class
ch = '@'; \
for (bp = temp; *bp; bp++) \
{ \
- if (islower (*bp)) *bp = toupper (*bp); \
+ *bp = TOUPPER (*bp); \
else if (*bp == '_') *bp = ch; \
} \
fprintf (FILE, "%s", temp); \
@@ -1256,7 +1256,7 @@ enum reg_class
for (j = 0, i = 0; i < LEN; j++, i++) \
{ \
c = PTR[i]; \
- if (iscntrl (c) || c == '&') \
+ if (ISCNTRL (c) || c == '&') \
{ \
if (j % MVS_ASCII_TEXT_LENGTH != 0 ) \
fprintf (FILE, "'\n"); \