Go to file
Jakub Jelinek 6f9fdf4db2 PR c/4475, c++/3780:
* c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
	* c-common.h (SWITCH_TYPE): Define.
	* c-typeck.c (c_start_case): Set SWITCH_TYPE.
	* stmt.c (all_cases_count): Set lastval to thisval at end of loop.
	Rename spareness variable to sparseness.
	(expand_end_case_type): Renamed from expand_end_case, use orig_type
	if non-NULL instead of TREE_TYPE (orig_index).
	* tree.h (expand_end_case_type): Renamed from expand_end_case.
	(expand_end_case): Define using expand_end_case_type.
	* c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
	to expand_end_case_type.
	* doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.

	* semantics.c (begin_switch_stmt): Clear SWITCH_TYPE.
	(finish_switch_cond): Set SWITCH_TYPE.

	* gcc.dg/Wswitch.c: Fix typos.  Don't return unconditionally
	before all tests.  Move warning one line above to match where it
	C frontend emits.
	* gcc.dg/Wswitch-2.c: New test.
	* g++.dg/warn/Wswitch-1.C: New test.
	* g++.dg/warn/Wswitch-2.C: New test.

From-SVN: r49497
2002-02-04 23:05:15 +01:00
boehm-gc 2002-02-01 Adam Megacz <adam@xwt.org> 2002-02-02 04:23:13 +00:00
config
contrib Contribute regression tester scripts 2002-02-02 05:23:34 +00:00
fastjar jartool.c (main): NULL-terminate new_argv. 2002-01-31 00:52:16 +00:00
gcc PR c/4475, c++/3780: 2002-02-04 23:05:15 +01:00
include minor typo 2002-02-03 08:10:29 -05:00
INSTALL
libchill re PR other/5299 (then -> than fixes) 2002-01-11 22:14:28 +00:00
libf2c Daily bump. 2002-02-02 08:16:46 +00:00
libffi Configure changes to enable cross compiling. 2002-01-31 22:25:31 +00:00
libiberty cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. 2002-02-02 20:00:36 -08:00
libjava * Makefile.in: Rebuilt. 2002-02-02 21:14:29 +00:00
libobjc Fixed bug in loading of categories under certain special circumstances 2001-12-17 17:23:09 +00:00
libstdc++-v3 locale_facets.tcc (money_get::do_get(string)): Deal correctly with !(__io.flags() & ios_base::showbase) for case... 2002-02-04 19:51:32 +00:00
maintainer-scripts snapshot-README, [...]: Use expressions such as @DATE@ rather than hardcoded dates. 2002-01-29 14:08:04 +00:00
zlib
.cvsignore
ChangeLog Contribute regression tester scripts 2002-02-02 05:23:34 +00:00
config-ml.in
config.guess config.guess: Import from master sources, rev 1.225. 2002-01-16 12:34:20 -08:00
config.if
config.sub config.guess: Import from master sources, rev 1.225. 2002-01-16 12:34:20 -08:00
configure * configure, configure.in: Use temp file for long sed commands. 2001-12-05 07:40:39 -05:00
configure.in configure.in (*-*-netbsd*): New. 2002-01-27 02:41:37 +00:00
COPYING
COPYING.LIB
install-sh * install-sh: Use _inst.$$_ for temp file name. 2002-01-25 18:42:28 -05:00
libtool.m4
ltcf-c.sh
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
ltmain.sh
MAINTAINERS Contribute regression tester scripts 2002-02-02 05:23:34 +00:00
Makefile.in Makefile.in (all-fastjar): Also depend on all-libiberty. 2002-01-17 17:15:47 -08: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.