aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppfiles.c
diff options
context:
space:
mode:
authorDave Pitts <dpitts@cozx.com>2000-04-16 17:54:25 -0700
committerRichard Henderson <rth@gcc.gnu.org>2000-04-16 17:54:25 -0700
commit5f6d38233069d3e17607cbde28bf413d73ea11ca (patch)
tree3c8bb9a066d5c956f9d8bb26a8f15c3f4286bd4b /gcc/cppfiles.c
parente13f6154aff4ee020e9e14b12d6a11b5e7353746 (diff)
downloadgcc-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/cppfiles.c')
-rw-r--r--gcc/cppfiles.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c
index 59ee7c7..cc891d4 100644
--- a/gcc/cppfiles.c
+++ b/gcc/cppfiles.c
@@ -284,7 +284,7 @@ find_include_file (pfile, fname, search_start, ihash, before)
else
{
/* Search directory path, trying to open the file. */
- name = alloca (strlen (fname) + pfile->max_include_len
+ name = (char *) alloca (strlen (fname) + pfile->max_include_len
+ 2 + INCLUDE_LEN_FUDGE);
do
{