https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71832
--- Comment #8 from Paolo Carlini <paolo.carlini at oracle dot com> --- Another idea - which appears to work great! - is skipping the bodies of the member function definitions. If everything goes well I'll send soon a draft patch.