https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102024
--- Comment #12 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Never mind my last comment. Segher pointed out that structure layout is done early enough that this isn't a problem. I verified this using g++ from GCC 11 and GCC 12 to show that we get correct offsets for the previous example in both cases.