re PR c++/80598 (-Wunused triggers for functions used in uninstantiated templates)
PR c++/80598 * call.c (build_over_call): In templates set TREE_USED (first_fn) when not calling mark_used for the benefit of -Wunused-function warning. * g++.dg/warn/Wunused-function4.C: New test. From-SVN: r258370
Showing
Please
register
or
sign in
to comment