https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118234
--- Comment #9 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:6c7c99f95661db80b6e1b52c10c34e9ce9c5eb6a commit r12-10883-g6c7c99f95661db80b6e1b52c10c34e9ce9c5eb6a Author: Eric Botcazou <ebotca...@adacore.com> Date: Wed Sep 6 09:37:29 2023 +0200 ada: Fix internal error on aggregate nested in container aggregate This handles the case where a component association is present. gcc/ada/ PR ada/118234 * exp_aggr.adb (Convert_To_Assignments): In the case of a component association, call Is_Container_Aggregate on the parent's parent. (Expand_Array_Aggregate): Likewise.