diff options
author | Dave Pitts <dpitts@cozx.com> | 2000-04-16 17:54:25 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-04-16 17:54:25 -0700 |
commit | 5f6d38233069d3e17607cbde28bf413d73ea11ca (patch) | |
tree | 3c8bb9a066d5c956f9d8bb26a8f15c3f4286bd4b /gcc/cpplib.c | |
parent | e13f6154aff4ee020e9e14b12d6a11b5e7353746 (diff) | |
download | gcc-5f6d38233069d3e17607cbde28bf413d73ea11ca.zip gcc-5f6d38233069d3e17607cbde28bf413d73ea11ca.tar.gz gcc-5f6d38233069d3e17607cbde28bf413d73ea11ca.tar.bz2 |
Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole message in quotes.
* Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
message in quotes. Otherwise, IBM's make program treats the '#' as the
start of a comment and ignores the remainder of the line.
* c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
upper case.
* cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
* cexp.y (initialize_random_junk): Likewise.
* cppfiles.c (find_include_file): Cast alloca return value.
* cppinit.c (initialize_standard_includes): Likewise.
* cpplib.c (cpp_define, cpp_undef): Likewise.
* defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
* final.c (output_asm_insn): Allow for holes in EBCDIC.
* fold-const.c (CHARMASK): New.
(real_hex_to_f): Use it.
* real.c (CHARMASK): New.
(etoasc, asctoeg): Use it.
(asctoeg): EBCDIC lower case characters preceed upper case.
From-SVN: r33192
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index cd8285b..98bd933 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -1705,7 +1705,7 @@ cpp_define (pfile, str) if (p) { count = strlen (str) + 2; - buf = alloca (count); + buf = (char *) alloca (count); memcpy (buf, str, count - 2); buf[p - str] = ' '; buf[count - 2] = '\n'; @@ -1714,7 +1714,7 @@ cpp_define (pfile, str) else { count = strlen (str) + 4; - buf = alloca (count); + buf = (char *) alloca (count); memcpy (buf, str, count - 4); strcpy (&buf[count-4], " 1\n"); } @@ -1734,7 +1734,7 @@ cpp_undef (pfile, macro) { /* Copy the string so we can append a newline. */ size_t len = strlen (macro); - char *buf = alloca (len + 2); + char *buf = (char *) alloca (len + 2); memcpy (buf, macro, len); buf[len] = '\n'; buf[len + 1] = '\0'; |