Go to file
Manuel López-Ibáñez dc90f45b24 re PR c/26494 (-pedantic-errors can be overridden by -W*)
2007-02-15  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

	PR c/26494
	* doc/invoke.texi (Warning Options): Remove
	-Werror-implicit-function-declaration.
	(Wimplicit-function-declaration): Update description.
	* opts.c (common_handle_option): Move handling of -Werror=* to...
	(enable_warning_as_error): ...here.
	* opts.h (enable_warning_as_error): Declare.
	* c-decl.c (implicit_decl_warning): Unless
	-Wno-implicit-function-declaration is given, emit a pedwarn if
	-std=c99 or emit a warning if -Wimplicit-function-declaration.
	* c.opt (Wimplicit-function-declaration): Replace
	mesg_implicit_function_declaration with
	warn_implicit_function_declaration.
	* c-opts.c (c_common_handle_option):
	-Werror-implicit-function-declaration is exactly equal as
	-Werror=implicit-function-declaration.
	(set_Wimplicit): Replace mesg_implicit_function_declaration with
	warn_implicit_function_declaration.
	(c_common_post_options): -Wimplict-function-declaration is enabled
	by default by -std=c99, otherwise is disabled by default.
	* c-objc-common.c (c_objc_common_init): Remove flawed logic.
testsuite/
	* gcc.dg/Wimplicit-function-declaration-c89.c: New.
	* gcc.dg/Wimplicit-function-declaration-c89-default.c: New.
	* gcc.dg/Wimplicit-function-declaration-c89-pedantic.c: New.
	* gcc.dg/Wimplicit-function-declaration-c99.c: New.
	* gcc.dg/Wimplicit-function-declaration-c99-pedantic.c: New.
	* gcc.dg/Werror-implicit-function-declaration.c: New.

From-SVN: r122017
2007-02-15 22:31:17 +00:00
boehm-gc gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate MPROTECT_VDB 2007-02-05 18:18:11 +00:00
config sync config directory with src 2007-02-10 12:44:12 +00:00
contrib test_summary (configflags): Adjust for changes in the config.status format due to update to autoconf 2.59. 2007-02-10 00:30:46 +00:00
fixincludes check in required changes for base/sys/sysmacros.h 2007-02-06 01:25:59 +00:00
gcc re PR c/26494 (-pedantic-errors can be overridden by -W*) 2007-02-15 22:31:17 +00:00
gnattools configure.ac: Update TOOLS_TARGET_PAIRS configuration to match gcc/ada/Makefile.in. 2007-02-11 11:28:52 +00:00
include * libiberty.h (pex_write_input): Remove prototype. 2007-02-09 15:28:13 +00:00
INSTALL
intl Makefile.in (distclean): Delete config files. 2006-09-27 18:51:52 +09:30
libada re PR bootstrap/30541 (Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down) 2007-01-23 16:37:09 +00:00
libcpp re PR preprocessor/30468 (-M not fully chops dirname) 2007-01-30 15:50:00 +00:00
libdecnumber decExcept.c: New. 2007-01-29 23:01:35 +00:00
libffi ffi.c (ffi_prep_args, [...]): Add long double handling. 2007-02-13 07:54:40 +00:00
libgcc Makefile.in: Make libgcc_s.so depend on libunwind.so. 2007-02-05 16:04:14 +00:00
libgfortran Makefile.am: Use $(M4) instead of m4. 2007-02-10 19:44:15 +00:00
libgomp [multiple changes] 2007-02-07 14:35:17 +01:00
libiberty hex.c: Fix typo. 2007-01-31 15:05:50 -05:00
libjava Make-lang.in (JAVA_MANFILES): Add doc/gc-analyze.1. 2007-02-15 17:25:24 +00:00
libmudflap [multiple changes] 2007-02-07 14:35:17 +01:00
libobjc In gcc/: PR 23067 2006-11-01 05:28:41 +00:00
libssp Index: config/ChangeLog 2006-10-15 07:42:57 +00:00
libstdc++-v3 re PR middle-end/30768 (ICE in ext/pb_ds/regression/list_update_data_map_rand.cc) 2007-02-14 20:15:29 +00:00
maintainer-scripts * crontab: No longer build snapshots for 4.0.x. 2007-01-29 22:27:12 +00:00
zlib aclocal.m4: Regenerate to use multi.m4. 2007-01-17 19:48:52 +00:00
ABOUT-NLS
ChangeLog * ltconfig (freebsd*): Default to elf. 2007-02-14 13:19:26 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess config.guess: Import latest version. 2006-12-11 15:11:34 +11:00
config.rpath
config.sub config.sub: Sync with src. 2007-02-09 16:31:28 +00:00
configure configure.ac (target_libraries): Move libgcc before libiberty. 2007-02-13 21:27:11 +00:00
configure.ac configure.ac (target_libraries): Move libgcc before libiberty. 2007-02-13 21:27:11 +00:00
COPYING
COPYING.LIB
depcomp
install-sh
libtool-ldflags
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig * ltconfig (freebsd*): Default to elf. 2007-02-14 13:19:26 +00:00
ltmain.sh
MAINTAINERS MAINTAINERS (Language Front End Maintainers): Update my mail address. 2007-02-11 11:06:15 +00:00
Makefile.def re PR bootstrap/30541 (Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down) 2007-01-23 16:37:09 +00:00
Makefile.in Makefile.in: Regenerate. 2007-02-09 16:35:29 +00:00
Makefile.tpl Makefile.tpl (build_alias, [...]): Use noncanonical equivalents. 2007-02-09 15:14:37 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
README.SCO
symlink-tree
ylwrap COPYING, [...]: Sync from upstream sources. 2005-07-14 01:08:13 +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.