https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95523
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu.org Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-06-04 Ever confirmed|0 |1 --- Comment #1 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- The reason for the assert is that the alignment is part of the ABI of the types and is relied on when using LDR and STR for some moves. Even though -fpack-struct=N changes the ABI in general, I don't think it should change it in this particular case. I have to wonder why GCC even has -fpack-struct= though. Do you have a specific need for it, or was this caught by option coverage testing? If there is no specific need, I'd be tempted to make -fpack-struct unsupported for AArch64. I think there are so many other things that could go wrong if it is used.