https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84782 --- Comment #12 from Raphael Kubo da Costa <raphael.kubo.da.costa at intel dot com> --- FWIW, the snippet from comment #1 builds fine with GCC >= 9.1 at least.