https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126230
--- Comment #3 from Alexander Krabler <code at a dot krabler.eu> --- GCC <= 12 just does not have any special padding semantics and does memcmp and memcpy, which was fine before P0528. Why do you consider that broken? >From your linked bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114865#c21 (and the two following comments) seem relevant (replace C++11 TU with GCC<=12 TU and C++14 TU with GCC>=13 TU).
