https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77728
--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> --- aarch64_function_arg_alignment has: for (tree field = TYPE_FIELDS (type); field; field = DECL_CHAIN (field)) alignment = std::max (alignment, DECL_ALIGN (field)); and thus has similar problem (no testcases in this case though).