re PR c++/17256 (undefined but used static or inline functions should be diagnosed)
PR c++/17256 * decl2.c (cp_finish_file): Fix conditions for undefined warning. Set TREE_NO_WARNING instead of TREE_PUBLIC. * pt.c (instantiate_pending_templates): Set DECL_INITIAL to avoid a warning on a function we didn't instantiate because of excessive recursion. Co-Authored-By: James A. Morrison <phython@gcc.gnu.org> From-SVN: r106581
Showing
gcc/testsuite/g++.dg/warn/undefined1.C
0 → 100644
Please
register
or
sign in
to comment