https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> --- Created attachment 54739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54739&action=edit possible patch An implementation of my guess at the clang rule, if we end up wanting to go that way.