https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118234
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:9b618e2e883ffada66f6c0c6a6a672f35286413c commit r12-10882-g9b618e2e883ffada66f6c0c6a6a672f35286413c Author: Eric Botcazou <ebotca...@adacore.com> Date: Fri May 26 00:09:14 2023 +0200 ada: Fix internal error on aggregate within container aggregate This just applies the same fix to Expand_Array_Aggregate as the one that was recently applied to Convert_To_Assignments. gcc/ada/ PR ada/118234 * exp_aggr.adb (Convert_To_Assignments): Tweak comment. (Expand_Array_Aggregate): Do not delay the expansion if the parent node is a container aggregate.