https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561
--- Comment #3 from stinkingmadgod at gmail dot com --- Thanks for the link. I was attempting to create a type-erased task type where the handles in one case was be passed in as a std::coroutine_handle<>& to avoid using std::function and the like. It was experimental and unlikely to be motivating, but I initially thought the inheritance situation was a bug.