https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231
--- Comment #29 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So aggregate_value_p has some side-effects other than return value then? Ugh. Anyway, my patch intention has been to avoid the relayouts. So, just calling aggregate_value_p there or perhaps instead later when we finalize DECL_RESULT and the like is an option, just would like to understand what side-effects it has. Will step through on the cross-compiler.