Go to file
Gabriel Dos Reis d7cf8390c7 libiberty.h (ACONCAT): Properly cast value of alloca().
include/
2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>

	* libiberty.h (ACONCAT): Properly cast value of alloca().

	* ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
	__cplusplus.

libiberty/
2005-05-24  Gabriel Dos Reis  <gdr@integrable-solutions.net>

	* configure.ac: Check declarations for calloc(), getenv(),
	malloc(), realloc() and sbrk().
	* config.in: Regenerate.
	* configure: Likewise.

	* alloca.c (C_alloca): Change "new" to "new_storage".  Use XNEWVEC
	instead of xmalloc.
	* choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
	* concat.c (liiberty_concat_ptr): Surround definition with an
	extern "C" block, if __cplusplus.
	(concat): Use XNEWVEC instead of xmalloc.
	(reconcat): Likewise.
	* cp-demangle.c (struct d_print_template): Rename member
	"template" to "template_decl".  Adjust use throughout the file.
	(d_print_resize): Properly cast return value of realloc().
	(cplus_demangle_print): Same for malloc().
	(d_demangle): Likewise.
	* cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
	"typename" to "type_name".
	* cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
	(work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
	(demangle_template_value_parm): Likewise.
	(demangle_template): Likewise.
	(recursively_demangle): Likewise.
	(do_hpacc_template_literal): Likewise.
	(do_arg): Likewise.
	(remember_type): Likewise.
	(remember_Ktype): Likewise.
	(register_Btype): Likewise.
	(string_need): Use XRESIZEVEC instead of xrealloc().
	* dyn-string.c (dyn_string_init): Use XNEWVEC.
	(dyn_string_new): Use XNEW.
	(dyn_string_resize): Use XRESIZEVEC.
	* fnmatch.c (fnmatch): Rename local variable "not" to "negate".
	* getopt.c (getenv): Declare only if !__cplusplus and !getenv.
	Otherwise include <stdlib.h>.
	(exchange): Cast return value of malloc().
	* hashtab.c (htab_size): Define as both macro and non-inline
	function.
	(htab_elements): Likewise.
	* getpwd.c (getpwd): Use XNEWVEC.
	(htab_create_alloc_ex): Use C90 prototype-style.
	* lrealpath.c (lrealpath): Appropriately cast return value of
	malloc().
	* make-relative-prefix.c (save_string): Likewise.
	* make-temp-file.c (try_dir): Rename from "try".  Adjust use in
	the file.
	(choose_tmpdir): Use XNEWVEC.
	* mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
	* pex-common.c (pex_init_common): Use XNEW.
	(pex_add_remove): Use XRESIZEVEC.
	(pex_run): Likewise.
	(pex_get_status_and_time): Likewise.
	* pex-djgpp.c (pex_djgpp_exec_child): Likewise.
	* pex-msdos.c (pex_init): Use XNEW.
	(pex_msdos_exec_child): Likewise.
	(pex_msdos_exec_child): Use XRESIZEVEC.
	* pex-unix.c (pex_wait): Use XNEW.
	* pex-win32.c (fix_argv): Use XNEWVEC.
	* pexecute.c (pwait): Likewise.
	* setenv.c (setenv): Properly cast return value of malloc().
	* sigsetmask.c (sigsetmask): Rename local variables "old" and
	"new" to "old_sig" and "new_sig".
	* sort.c (main): Use XNEWVEC.
	* spaces.c (spaces): Cast return value of malloc().
	* strndup.c (strndup): Likewise.
	* ternary.c (ternary_insert): Use XNEW.
	* xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
	with an extern "C" block if __cplusplus.
	* xstrdup.c (xstrdup): Cast return value of memcpy().
	* xstrerror.c (strerror): Enclose declaration in an extern "C"
	block if __cplusplus.
	* xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().

From-SVN: r100115
2005-05-24 20:48:25 +00:00
boehm-gc * configure: Regenerate. 2005-05-10 01:43:00 +00:00
config accross.m4: Delete file. 2005-05-19 03:45:17 +00:00
contrib * gennews (files): Update for GCC 4.0. 2005-04-17 12:19:23 +01:00
fastjar configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. 2005-05-18 01:38:46 +00:00
fixincludes re PR bootstrap/21683 (build failure on i386-mingw (sys/wait.h header)) 2005-05-22 17:01:02 +00:00
gcc ia64intrin.h: Define nothing for C++: overloaded builtins have been ported to C++. 2005-05-24 20:38:40 +00:00
gnattools re PR ada/19959 (Can't compile gnattools for the cross targets) 2005-03-30 10:56:55 +02:00
include libiberty.h (ACONCAT): Properly cast value of alloca(). 2005-05-24 20:48:25 +00:00
INSTALL
intl Update the address and telephone number of the FSF organization 2005-05-13 08:03:47 +00:00
libada Fix ada enabled "make html". 2005-04-27 18:39:03 -07:00
libcpp directives.c (#sccs table entry): Mark IN_I, consistent with #ident. 2005-05-12 18:31:38 +00:00
libffi Fixup the date of last entry 2005-05-18 02:05:35 +00:00
libgfortran * libgfortran/ChangeLog: Corrected author name. 2005-05-24 20:46:54 +00:00
libiberty libiberty.h (ACONCAT): Properly cast value of alloca(). 2005-05-24 20:48:25 +00:00
libjava mprec.c (mult, [...]): Add parenthesis to avoid warnings. 2005-05-22 08:55:21 +02:00
libmudflap * configure: Regenerate. 2005-05-10 01:43:00 +00:00
libobjc * exception.c: Revert last change. 2005-05-19 18:26:56 -07:00
libstdc++-v3 allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator. 2005-05-24 20:28:55 +00:00
maintainer-scripts crontab: Spread snapshot building more evenly throughout the week. 2005-05-21 21:56:24 +00:00
zlib * configure: Regenerate. 2005-05-10 01:43:00 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ABOUT-NLS intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
ChangeLog Makefile.def (configure-gcc): Depend on binutils having been built. 2005-05-20 07:10:30 +00:00
ChangeLog.tree-ssa Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
compile install-sh, compile: Import from automake. 2004-11-16 01:04:30 +00:00
config-ml.in re PR bootstrap/18033 (--disable-aix64 doesn't remove ppc64 from multilib list) 2005-01-12 19:47:56 -05:00
config.guess config.guess, config.sub: Import from savannnah. 2004-11-16 00:57:01 +00:00
config.rpath intl: New directory; see intl/ChangeLog for details. 2003-07-04 18:18:54 +00:00
config.sub * config.sub: Update from master copy. 2005-04-22 08:58:48 +00:00
configure configure.in: Rewrite misleading error message when requested language cannot be built. 2005-05-19 20:03:22 +00:00
configure.in configure.in: Rewrite misleading error message when requested language cannot be built. 2005-05-19 20:03:22 +00:00
COPYING
COPYING.LIB
depcomp config.guess: New upstream version 2004-09-23 01:21:50 +00:00
install-sh install-sh, config.sub: Import from upstream. 2005-01-18 01:20:48 +00:00
libtool.m4 libtool.m4 (AC_LIBTOOL_SYS_MAX_CMD_LEN): Use quotes on lt_cv_sys_max_cmd_len for now. 2005-05-10 01:31:58 +00:00
ltcf-c.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltcf-cxx.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltcf-gcj.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltconfig ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
ltmain.sh ltconfig: Define file_list_spec. 2005-05-05 11:04:39 -04:00
MAINTAINERS Update maintainers 2005-05-17 23:00:18 +00:00
Makefile.def Makefile.def (configure-gcc): Depend on binutils having been built. 2005-05-20 07:10:30 +00:00
Makefile.in Makefile.def (configure-gcc): Depend on binutils having been built. 2005-05-20 07:10:30 +00:00
Makefile.tpl Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Rename from STAGE_HOST_EXPORTS. 2005-05-04 15:41:56 +00:00
missing missing: Import latest version from master repository. 2004-09-07 08:33:10 +00:00
mkdep
mkinstalldirs re PR bootstrap/11932 (Parallel bootstrap failure with sparc libiberty multilib) 2004-02-20 02:01:16 +00:00
move-if-change
README * README: Remove version number. 2001-06-13 19:48:09 +01:00
README.SCO * README.SCO: Update the URL. 2005-05-08 17:49:46 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 16:44:23 -04:00
ylwrap * ylwrap: Import from Automake 1.9.5. 2005-05-15 18:17:10 +00:00

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the file COPYING
for copying permission.  The manuals, and some of the runtime
libraries, are under different terms; see the individual source files
for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs.html for how to report bugs usefully.