aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>2000-01-12 19:49:57 -0500
committerJason Merrill <jason@gcc.gnu.org>2000-01-12 19:49:57 -0500
commit149bb763059ea0740c4bb3e2ca507b6521a50298 (patch)
treefd2de48e6033d24bf451287c55860fb18a17e6bd /gcc
parent11950183bc5004ac79e488df60f8decce0edc84c (diff)
downloadgcc-149bb763059ea0740c4bb3e2ca507b6521a50298.zip
gcc-149bb763059ea0740c4bb3e2ca507b6521a50298.tar.gz
gcc-149bb763059ea0740c4bb3e2ca507b6521a50298.tar.bz2
* cccp.c (do_pragma): Add cast to (char *).
From-SVN: r31371
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog52
-rw-r--r--gcc/cccp.c2
2 files changed, 52 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0279b58..fe53b33 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,53 @@
+2000-01-12 Jason Merrill <jason@casey.cygnus.com>
+
+ * cccp.c (do_pragma): Add cast to (char *).
+
+2000-01-12 Richard Henderson <rth@cygnus.com>
+ Fred Fish <fnf@be.com>
+ Jason Merrill <jason@cygnus.com>
+
+ * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
+ * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
+ * i386/beos-elf.h, i386/beos-pe.h: New files.
+
+ * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
+ * cross-make (SYSTEM_HEADER_DIR): Define using
+ CROSS_SYSTEM_HEADER_DIR.
+
+ * gcc.c (LIBRARY_PATH_ENV): Provide default.
+ (process_command): Use it.
+ (main): Likewise. Kill trailing = from env vars.
+ (build_search_list): Put it back.
+ * collect2.c (main): Use LIBRARY_PATH_ENV.
+
+ * configure.in (GCC_NEED_DECLARATIONS): Add environ.
+ * toplev.c: Use NEED_DECLARATION_ENVIRON.
+
+ * tm.texi (Frame Layout): Document SMALL_STACK.
+ * c-common.c (c_common_nodes_and_builtins): Check it.
+
+ * system.h: Undef alloca after including glibc's <stdlib.h>,
+ if USE_C_ALLOCA is defined.
+
+ * gcc.c (set_input): New fn.
+ (main): After all input files are compiled, reset the input file
+ info to the first.
+
+ * aclocal.m4 (rindex, index): If already defined, don't attempt
+ to redefine.
+
+ * ginclude/varargs.h: (__va_list__): Define ifndef.
+ * ginclude/stdarg.h: Likewise.
+
+ * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
+ instead of unsigned char.
+
+ * hash.h (true, false, boolean): Undef before enum.
+
+ * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
+ proper type of "HOST_WIDE_INT *", rather than their natural type of
+ "unsigned HOST_WIDE_INT *".
+
2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
@@ -531,7 +581,7 @@ Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
(asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
flag_data_sections or UNIQUE_SECTION_P are true.
- * tm.texi (UNIQUE)SECTION): Document that it can be called for
+ * tm.texi (UNIQUE_SECTION): Document that it can be called for
unitialised data decls.
* config/i386/winnt.c (i386_pe_unique_section): Cope with
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 16231d9..c534164 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -7211,7 +7211,7 @@ do_pragma (buf, limit, op, keyword)
do_once ();
}
- if (!strncmp (buf, "poison", 6)) {
+ if (!strncmp ((char *) buf, "poison", 6)) {
/* Poison these symbols so that all subsequent usage produces an
error message. */
U_CHAR *p = buf + 6;