8sa1-gcc/gcc/cp
Nathan Sidwell 85b22f7857 re PR c++/9848 (missing 'unused parameter' warning.)
cp:
	PR c++/9848
	* optimize.c (maybe_clone_body): Don't set MARK_USED on parameters
	here.
	* semantics.c (expand_body): Set it here on the remaining clones.
testsuite:
	PR c++/9848
	* g++.dg/warn/Wunused-4.C: New test.

From-SVN: r71528
2003-09-18 17:07:53 +00:00
..
call.c re PR c++/12266 (incorrect instantiation of unneeded template during overload resolution) 2003-09-17 23:42:55 +00:00
cfns.gperf
cfns.h
ChangeLog re PR c++/9848 (missing 'unused parameter' warning.) 2003-09-18 17:07:53 +00:00
ChangeLog.1
ChangeLog.2
ChangeLog.egcs
class.c tree.def (FFS_EXPR, [...]): Delete unused tree codes. 2003-09-18 15:06:02 +00:00
config-lang.in
cp-lang.c re PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read) 2003-09-17 20:52:41 +00:00
cp-tree.def
cp-tree.h re PR c++/12266 (incorrect instantiation of unneeded template during overload resolution) 2003-09-17 23:42:55 +00:00
cvt.c
cxx-pretty-print.c c-pretty-print.h (pp_type_specifier_seq): Fix thinko. 2003-09-18 08:25:12 +00:00
cxx-pretty-print.h
cxxfilt.c
decl2.c
decl.c re PR debug/12066 (g++ generates stabs for "char *" that gdb cannot read) 2003-09-17 20:52:41 +00:00
decl.h
dump.c
error.c c-pretty-print.h (pp_type_specifier_seq): Fix thinko. 2003-09-18 08:25:12 +00:00
except.c
expr.c
friend.c
g++spec.c
init.c
lang-specs.h
lex.c tree.def (FFS_EXPR, [...]): Delete unused tree codes. 2003-09-18 15:06:02 +00:00
lex.h
Make-lang.in
mangle.c
method.c
name-lookup.c
name-lookup.h
NEWS
operators.def
optimize.c re PR c++/9848 (missing 'unused parameter' warning.) 2003-09-18 17:07:53 +00:00
parser.c
pt.c re PR c++/12184 (ICE with trying to convert an incomplete type) 2003-09-15 14:48:29 +00:00
ptree.c
repo.c
rtti.c * rtti.c (get_tinfo_decl): Set TREE_PUBLIC for typeinfo decls. 2003-09-14 20:24:00 +00:00
search.c
semantics.c re PR c++/9848 (missing 'unused parameter' warning.) 2003-09-18 17:07:53 +00:00
tree.c
typeck2.c
typeck.c re PR c++/7939 (ICE on function template specialization) 2003-09-16 15:27:51 +00:00