Go to file
Manuel López-Ibáñez d0b8780d9f re PR other/42965 (no "warnings being treated as errors" for individual -Werror=x options)
2010-04-09  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	PR 42965
	* diagnostic.c (diagnostic_initialize): Initialize
	some_warnings_are_errors.
	(diagnostic_finish): New.
	(diagnostic_action_after_output): Call it before exiting.
	(diagnostic_report_diagnostic): Do not print message here. Set
	some_warnings_are_errors.
	* diagnostic.h (diagnostic_context): Delete
	issue_warnings_are_errors_message. Add some_warnings_are_errors.
	(diagnostic_finish): Declare.
	* toplev.c (toplev_main): Call it before exit.
testsuite/
	* gcc.dg/Werror-6.c: Adjust.
	* gcc.dg/Werror-implicit-function-declaration.c: Likewise.
	* gcc.dg/Werror-4.c: Likewise.
	* gcc.dg/Wdeclaration-after-statement-3.c: Likewise.
	* gcc.dg/Wswitch-enum-error.c: Likewise.
	* gcc.dg/Wpointer-arith.c: Likewise.
	* gcc.dg/Wfatal.c: Likewise.
	* gcc.dg/Wswitch-error.c: Likewise.
	* g++.dg/warn/unused-result1-Werror.c: Likewise.
	* gcc.dg/Werror-9.c: Delete. Duplicate of Werror-4.c.
	* gcc.dg/cpp/warn-undef-2.c: Likewise.
	* gcc.dg/cpp/warn-traditional-2.c: Likewise.
	* gcc.dg/cpp/warn-comments-2.c: Likewise.
	* gcc.dg/cpp/warn-variadic-2.c: Likewise.
	* gcc.dg/cpp/warning-directive-2.c: Likewise.
	* gcc.dg/cpp/warn-long-long-2.c: Likewise.
	* gcc.dg/cpp/warn-deprecated-2.c: Likewise.
	* gcc.dg/cpp/warn-multichar-2.c: Likewise.
	* gcc.dg/cpp/warn-normalized-3.c: Likewise.
	* gcc.dg/cpp/warn-cxx-compat-2.c: Likewise.
	* gcc.dg/cpp/warn-trigraphs-3.c: Likewise.
	* gcc.dg/cpp/warn-unused-macros-2.c: Likewise.
	* gcc.dg/cpp/warn-trigraphs-4.c: Likewise.
	* gcc.dg/cpp/warn-redefined-2.c: Likewise.
	* g++.dg/cpp/warning-directive-2.C: Likewise.
	* gfortran.dg/warning-directive-2.F90: Likewise.

From-SVN: r158168
2010-04-09 15:45:52 +00:00
boehm-gc Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
config mh-mingw: Revert accidentally checking r156315. 2010-03-23 15:48:08 +01:00
contrib * gennews (files): Add files for GCC 4.5. 2010-04-06 15:06:04 +01:00
fixincludes Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
gcc re PR other/42965 (no "warnings being treated as errors" for individual -Werror=x options) 2010-04-09 15:45:52 +00:00
gnattools re PR ada/42659 (gnatmake thinks libraries aren't supported) 2010-01-09 18:21:52 +00:00
include dwarf2.h (DWARF2_Internal_LineInfo): Add li_max_ops_per_insn field. 2010-04-06 09:37:37 +02:00
INSTALL
intl Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libada
libcpp diagnostic.h (diagnostic_override_option_index): New macro to set a diagnostic's option_index. 2010-04-07 17:18:10 +00:00
libdecnumber Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libffi tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable. 2010-04-07 22:27:37 +02:00
libgcc Fix indentation. 2010-04-02 05:06:20 +02:00
libgfortran re PR fortran/39997 (Procedure(), pointer & implicit typing: rejects-valid / accepts-invalid?) 2010-04-06 18:26:02 +02:00
libgomp Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libiberty tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable. 2010-04-07 22:29:01 +02:00
libjava tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not used count variable. 2010-04-07 22:27:37 +02:00
libmudflap Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libobjc Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libssp Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
libstdc++-v3 parser.c (cp_parser_class_specifier): Set class location to that of IDENTIFIER_NODE instead of '{' when possible. 2010-04-06 17:13:07 -04:00
lto-plugin Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
maintainer-scripts * crontab: Switch 4.5 snapshots to 4.5 branch. 2010-04-07 22:36:44 +01:00
zlib Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
ABOUT-NLS
ChangeLog MAINTAINERS (Write After Approval): Add myself. 2010-04-06 15:25:35 +00:00
ChangeLog.tree-ssa
compile
config-ml.in
config.guess config.sub: Update to version 2010-03-22. 2010-03-23 14:26:40 +00:00
config.rpath
config.sub config.sub: Update to version 2010-03-22. 2010-03-23 14:26:40 +00:00
configure Add brackets around AC_TRY_COMPILE alternative. 2010-04-02 17:35:47 +00:00
configure.ac Add brackets around AC_TRY_COMPILE alternative. 2010-04-02 17:35:47 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2010-04-06 15:25:35 +00:00
Makefile.def PR libstdc++/36101, PR libstdc++/42813 2010-01-22 13:35:38 +00:00
Makefile.in Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found... 2010-02-17 11:01:44 +00:00
Makefile.tpl Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache files found... 2010-02-17 11:01:44 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with 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/ for how to report bugs usefully.