Wunused-function4.C
265 Bytes
-
re PR c++/80598 (-Wunused triggers for functions used in uninstantiated templates) · 80bac2eb
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
Jason Merrill committed