https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121968
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:84ac6f3503ec331f3524f9c5c44a8f4e37b1d081 commit r15-10346-g84ac6f3503ec331f3524f9c5c44a8f4e37b1d081 Author: Eric Botcazou <[email protected]> Date: Mon Sep 22 11:08:34 2025 +0200 Ada: Fix internal error on use clause present in generic formal part This is a regression present on the mainline and 15 branch: the compiler aborts on a use clause present in the formal part of a generic unit because of an oversight in the new inference code for generic actual parameters. The fix also adds a missing test to Analyze_Dimension_Array_Aggregate. gcc/ada/ PR ada/121968 * sem_ch12.adb (Associations.Find_Assoc): Add guard for clauses. * sem_dim.adb (Analyze_Dimension_Array_Aggregate): Add test for N_Iterated_Component_Association nodes.
