https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91995
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Sat Oct 12 14:47:34 2019 New Revision: 276916 URL: https://gcc.gnu.org/viewcvs?rev=276916&root=gcc&view=rev Log: PR ada/91995 * sem_ch8.adb (Chain_Use_Clause): Remove second argument in calls to Defining_Entity. * sem_elab.adb (Find_Unit_Entity): Likewise. Deal with N_Subunit here in lieu of in Defining_Entity. * sem_util.ads (Defining_Entity): Remove 2nd and 3th parameters. * sem_util.adb (Defining_Entity): Remove 2nd and 3th parameters, and adjust accordingly. Deal with N_Compilation_Unit. Modified: trunk/gcc/ada/ChangeLog trunk/gcc/ada/sem_ch8.adb trunk/gcc/ada/sem_elab.adb trunk/gcc/ada/sem_util.adb trunk/gcc/ada/sem_util.ads