https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114855
--- Comment #3 from jeremy rutman <jeremy.rutman at gmail dot com> --- For what it's worth, clang is able to compile the code in question. Ubuntu clang version 18.1.3 (1) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin