diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2003-09-18 17:07:53 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2003-09-18 17:07:53 +0000 |
commit | 85b22f7857a745d8ec12d88d61b770a598208ecf (patch) | |
tree | e282a8b31bbf685e2f19352bd0b60a68eddc7257 /gcc/builtins.c | |
parent | f857cb427e56de666cafa31769bb6208358c374c (diff) | |
download | gcc-85b22f7857a745d8ec12d88d61b770a598208ecf.zip gcc-85b22f7857a745d8ec12d88d61b770a598208ecf.tar.gz gcc-85b22f7857a745d8ec12d88d61b770a598208ecf.tar.bz2 |
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
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions