https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827
--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> --- I would say that perhaps (noting comment #9) it would be useful to explore teaching gcov that it should not ignore the actor function (it is identifiable that a function is a coroutine component) Part of the code (the wrapping that the std mandates) is artificial (and so has no useful location) - but the user-authored body should have correct location data.