https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65801
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> --- Yes, I was thinking that in such cases clang does something we don't normally do (ie, an hard error by default suppressible with a -Wno-*). Let me see if we can achieve that as you suggested.