Find a file
Joseph Myers 148e4216a4 re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent)
PR preprocessor/34695

gcc:
	* Makefile.in (c-opts.o): Depend on c-tree.h.
	* c-common.c: Move down include of diagnostic.h.
	(done_lexing, c_cpp_error): New.
	* c-common.h (done_lexing): Declare.
	* c-decl.c (c_write_global_declarations): Don't check cpp_errors
	(parse_in).
	* c-opts.c: Include c-tree.h.
	(c_common_init_options): Set preprocessor error callback.
	(c_common_handle_option): Do not set preprocessor
	inhibit_warnings, warnings_are_errors, warn_system_headers,
	pedantic_errors or inhibit_warnings flags.
	(c_common_post_options): Do not check cpp_errors (parse_in).
	(c_common_finish): Do not output dependencies if there were
	errors.  Do not check return value of cpp_finish.
	* c-ppoutput.c (pp_file_change): Set input_location.
	* c-tree.h (c_cpp_error): Declare.
	* diagnostic.c (diagnostic_set_info_translated): Also initialize
	override_column.
	(diagnostic_build_prefix): Check override_column.
	* diagnostic.h (diagnostic_info): Add override_column field.
	(diagnostic_override_column): Define.

gcc/cp:
	* cp-tree.h (cp_cpp_error): Remove.
	* error.c (cp_cpp_error): Remove.
	* parser.c (cp_lexer_new_main): Set done_lexing instead of
	client_diagnostic and error callback.

gcc/fortran:
	* cpp.c (cb_cpp_error): New.
	(gfc_cpp_post_options): Don't set cpp_option->inhibit_warnings.
	Don't check cpp_errors (cpp_in).
	(gfc_cpp_init_0): Set cb->error.

gcc/testsuite:
	* gcc.dg/builtin-redefine.c, gcc.dg/cpp/redef2.c,
	gcc.dg/cpp/redef3.c, gcc.dg/cpp/trad/redef2.c: Use dg-message
	instead of dg-warning for "previous definition" messages.
	* gcc.dg/cpp/Wvariadic-1.c, gcc.dg/cpp/Wvariadic-3.c: Expect
	"warnings being treated as errors" message.
	* gcc.dg/fltconst-1.c: Use -fshow-column.

libcpp:
	* makedepend.c: Remove.
	* Makefile.in (makedepend_OBJS, makedepend$(EXEEXT)): Remove.
	(all, clean, TAGS_SOURCES, include): Remove makedepend handling.
	* directives.c (cpp_errors): Remove.
	* errors.c (print_location, _cpp_begin_message, v_message):
	Remove.
	(cpp_error, cpp_error_with_line): Always use error callback.
	(cpp_error, cpp_error_with_line, cpp_errno): Return bool.
	* include/cpplib.h (cpp_options): Remove pedantic_errors,
	inhibit_warnings, warn_system_headers, inhibit_errors,
	warnings_are_errors, client_diagnostic.
	(cpp_callbacks): Add extra arguments to error callback; make it
	return bool.
	(cpp_finish): Return void.
	(cpp_destroy): Remove inaccurate comment about return value.
	(cpp_errors, CPP_DL_EXTRACT, CPP_DL_WARNING_P): Remove.
	(CPP_DL_NOTE): Define.
	* include/line-map.h (linemap_print_containing_files): Remove.
	* init.c (cpp_finish): Do not check for or return number of
	errors.
	* internal.h (cpp_reader): Remove errors field.
	* line-map.c (linemap_print_containing_files): Remove.
	* macro.c (_cpp_create_definition): Use CPP_DL_NOTE for message
	about previous definition.  Only emit it if previous diagnostic
	was emitted.

From-SVN: r145263
2009-03-29 23:56:07 +01:00
boehm-gc backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
config mh-cygwin (LDFLAGS): Add linker option to increase stack limit up to 8MB. 2009-02-11 11:50:50 +01:00
contrib check_warning_flags.sh: Update flag exceptions. 2009-03-01 11:24:03 +00:00
fixincludes math.h, [...]: Update. 2009-03-29 19:32:48 +01:00
gcc re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
gnattools Add PR ref. 2009-02-27 09:56:42 +00:00
include decl.c (grokfndecl): Set DECL_CONTEXT on parms. 2009-03-17 19:31:18 -04:00
INSTALL
intl Makefile.tpl ($(srcdir)/configure): Update dependencies. 2008-06-17 23:13:35 +00:00
libada re PR ada/5911 (Support for multilib in Ada) 2008-09-21 11:45:23 +00:00
libcpp re PR preprocessor/34695 (Preprocessor warning->error conversion from -Werror is silent) 2009-03-29 23:56:07 +01:00
libdecnumber decNumber.c, [...]: Upgrade to decNumber 3.61. 2009-03-29 11:33:22 +11:00
libffi backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
libgcc inclhack.def (aix_syswait, [...]): Remove. 2009-03-28 06:51:09 +00:00
libgfortran re PR libfortran/33595 (FAIL: gfortran.dg/nint_2.f90 -O0 execution test) 2009-03-28 21:15:45 +00:00
libgomp atomic-5.c: Cleanup cpuid usage. 2009-03-25 14:36:02 +01:00
libiberty memmem.c: New file, from gnulib. 2009-03-27 22:38:23 +00:00
libjava configure.ac: Detect xulrunner-1.9. 2009-03-16 12:08:23 +00:00
libmudflap backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
libobjc re PR libobjc/27466 (RFE: Support for libobjc equivalent of std::set_unexpected) 2009-03-12 22:28:15 +00:00
libssp backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
libstdc++-v3 hashtable.h (_S_num_primes): Change to 29. 2009-03-27 22:01:15 +00:00
maintainer-scripts crontab: Stop 4.2 snapshots. 2009-03-28 20:31:52 +00:00
zlib backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ABOUT-NLS
ChangeLog Update my email address. 2009-03-25 09:14:46 +01:00
ChangeLog.tree-ssa
compile compile: Make executable. 2008-02-01 00:06:00 +00:00
config-ml.in config-ml.in: don't handle --enable-shared and --enable-static. 2008-05-14 17:15:51 +00:00
config.guess * config.sub, config.guess: Update from upstream sources. 2008-12-18 14:27:27 +11:00
config.rpath * config.rpath: Add AIX 6 support. 2008-03-13 14:55:20 -04:00
config.sub * config.sub, config.guess: Update from upstream sources. 2008-12-18 14:27:27 +11:00
configure configure: Rebuild. 2009-03-18 23:32:36 +00:00
configure.ac configure: Rebuild. 2009-03-18 23:32:36 +00:00
COPYING
COPYING.LIB
COPYING3
COPYING3.LIB
depcomp
install-sh
libtool-ldflags re PR bootstrap/31906 ("-Xcompiler" is inserted after "-Xlinker" when building libstdc++) 2007-09-20 10:20:05 +00:00
libtool.m4 backport: Support GNU/kOpenSolaris. 2009-03-01 17:49:31 +00:00
ltgcc.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltmain.sh libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltoptions.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltsugar.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
ltversion.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
lt~obsolete.m4 libtool.m4: Update to libtool 2.2.6. 2008-09-26 16:21:02 +00:00
MAINTAINERS Update my email address. 2009-03-25 09:14:46 +01:00
Makefile.def configure: Rebuild. 2009-03-18 23:32:36 +00:00
Makefile.in configure: Rebuild. 2009-03-18 23:32:36 +00:00
Makefile.tpl Makefile.tpl (stage_last): Define $r and $s before using $(RECURSE_FLAGS_TO_PASS). 2009-02-05 15:29:52 +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 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.