On Wed, Mar 7, 2018 at 5:19 PM, Jakub Jelinek <ja...@redhat.com> wrote: > This testcase regressed when the mark_used call in finish_id_expression > has been guarded with if (done). Wonder if we can't just mark it TREE_USED > otherwise for the benefit of -Wunused-function and leave it > non-DECL_ODR_USED as it should. Or do we want to mark it TREE_USED > elsewhere?
Probably in the processing_template_decl block near the top of build_over_call. Jason