]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix assertion failure during analysis of instantiation of formal package
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 24 May 2024 07:44:10 +0000 (09:44 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 20 Jun 2024 08:50:56 +0000 (10:50 +0200)
commitc5d7daa37938984b931ae0825e9d3d72c748ab5a
tree71abe707f8fd494df477537693da5e8e0f69282e
parente8e0306649a09f47c429b36b7fcf95eaff100095
ada: Fix assertion failure during analysis of instantiation of formal package

It's an assertion on the name of an instance of a generic child unit and
it needs to cope with a renaming of the unit.

gcc/ada/

* sem_ch12.adb (Instantiate_Formal_Package): Accept renamings of a
generic parent that is a child unit for the abbreviated instance.
gcc/ada/sem_ch12.adb