Go to file
Neil Booth a69cbaac60 cppexp.c (parse_defined): Mark macro used.
* cppexp.c (parse_defined): Mark macro used.
	* cpphash.h (struct cpp_macro): New member "used".
	(_cpp_mark_macro_used, _cpp_warn_if_unused_macro): New.
	(struct cpp_reader): New member.
	* cppinit.c (cpp_finish_options): Set first_unused_line.
	(cpp_finish): Warn of unused macros if requested.
	(OPT_TABLE): New switches.
	(cpp_handle_option): Handle them.
	* cpplib.c (do_undef): Warn if macro unused.
	(do_ifdef, do_ifndef): Mark macro used.
	* cpplib.h (struct cpp_options): New member.
	* cppmacro.c (_cpp_warn_if_unused_macro): New.
	(enter_macro_context): Mark macro used.
	(_cpp_create_definition): Mark macro unused; warn if unused
	when redefined.
	* cpptrad.c (scan_out_logcial_line, push_replacement_text):
	Mark macros used.
	* doc/cppopts.texi: Update.
testsuite:
	* gcc.dg/cpp/trad/Wunused.c, gcc.dg/cpp/trad/Wunused.h,
	gcc.dg/cpp/Wunused.c, gcc.dg/cpp/Wunused.h: New tests.

From-SVN: r55692
2002-07-23 22:57:49 +00:00
boehm-gc Remove dead endif so x86-64 compilation works. 2002-07-19 13:21:36 +02:00
config Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
contrib Makefile.in: Delete references to enquire. 2002-07-17 00:09:11 +00:00
fastjar configure.in: Support cross-compiling. 2002-06-03 17:59:29 +00:00
gcc cppexp.c (parse_defined): Mark macro used. 2002-07-23 22:57:49 +00:00
include demangle.h: #include "ansidecl.h" rather than #include <ansidecl.h>. 2002-06-25 09:44:15 +09:30
INSTALL
libf2c Daily bump. 2002-07-23 07:17:57 +00:00
libffi configure.in (sh[34]*-*-linux*): Add brackets. 2002-07-19 15:30:58 +00:00
libiberty cp-demangle.c (demangle_identifier): Support extended Unicode characters. 2002-07-09 19:57:09 -04:00
libjava * libjava.compile/zeroexp.java: New file. 2002-07-23 03:15:02 +00:00
libobjc encoding.h: Fix formatting. 2002-07-02 19:43:03 +00:00
libstdc++-v3 Daily bump. 2002-07-23 07:17:57 +00:00
maintainer-scripts update_web_docs (MANUALS): Include various flavours of the GNAT User Guide. 2002-05-31 18:50:45 +02:00
zlib Makefile.in: Allow for PWDCMD to override hardcoded pwd. 2002-05-16 17:43:21 +00:00
.cvsignore configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
ChangeLog * MAINTAINERS: Add myself as ra* maintainer. 2002-07-20 16:53:10 +00:00
config-ml.in config-ml.in doesn't need to worry about cygnus configure 2002-07-01 19:59:22 +00:00
config.guess config.guess: Update to 2002-07-09 version. 2002-07-16 17:14:49 -07:00
config.if config.if (libstdcxx_incdir): Version C++ headers. 2002-06-27 10:19:53 +00:00
config.sub config.guess: Update to 2002-07-09 version. 2002-07-16 17:14:49 -07:00
configure configure, .cvsignore: Revert previous change... 2002-06-19 18:10:09 +00:00
configure.in * configure.in: Remove two redundant tests. 2002-07-11 19:54:04 +00:00
COPYING
COPYING.LIB
install-sh
libtool.m4
ltcf-c.sh
ltcf-cxx.sh * ltcf-cxx.sh (hpux*): Modify to support ia64-*-hpux*. 2002-07-04 22:52:03 +00:00
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS Update email address for self. 2002-07-23 16:29:37 +00:00
Makefile.in configure.in: Don't build grez. 2002-07-08 21:40:41 +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.