Wunused-4.C
553 Bytes
-
re PR c++/9848 (missing 'unused parameter' warning.) · 85b22f78
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
Nathan Sidwell committed