On Thu, 28 Nov 2024, Martin Uecker wrote: > Bit-fields need additional checks for type compatiblity. > > > Bootstrapped and regression tested on x86_64. > > > > c: correct type compatibility for bit-fields [PR117828] > > Add missing test for consistency of bit-fields when comparing tagged > types for compatibility. > > PR c/117828 > > gcc/c/ChangeLog: > * c-typeck.c (tagged_types_tu_compatible_p): Add check. > > gcc/testsuite/ChangeLog: > * c23-tag-bitfields-1.c: New test. > * pr117828.c: New test.
OK (with the file names corrected in the ChangeLog entries, it's c-typeck.cc, and gcc.dg/ is needed in the test names). -- Joseph S. Myers josmy...@redhat.com