https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124606
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Eric Botcazou <[email protected]>: https://gcc.gnu.org/g:2f430c7e1a605676f30392111ca505ee03bd0b68 commit r16-8258-g2f430c7e1a605676f30392111ca505ee03bd0b68 Author: Eric Botcazou <[email protected]> Date: Mon Mar 23 21:48:52 2026 +0100 Ada: Fix instantiation failure with formal array type after formal package This comes from a confusion in the mapping maintained between formal and actual parameters of the instantiation caused by the equivalent mapping maintained for the instantiation of the formal package. The change just removes the offending lines, which do not seem to serve any useful purpose. gcc/ada/ PR ada/124606 * sem_ch12.adb (Find_Actual_Type): Rename formal parameter. (Map_Formal_Package_Entities): Do not register base types. gcc/testsuite/ * gnat.dg/generic_inst19.adb: New test.
