https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- clang and clang++ on x86_64 ignore the zero width bitfields, so work similarly to C++ in GCC < 12.
jakub at gcc dot gnu.org via Gcc-bugs Mon, 23 Aug 2021 07:41:25 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- clang and clang++ on x86_64 ignore the zero width bitfields, so work similarly to C++ in GCC < 12.