https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88043
--- Comment #2 from Zach Jibben <zjibben at gmail dot com> --- I'll also add that removing the non_overridable attribute from bar%f (B%sub in Neil's example) causes the error to disappear, and seems like the most reasonable workaround for the time being.