https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91995
--- Comment #6 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Sat Oct 12 14:49:21 2019 New Revision: 276917 URL: https://gcc.gnu.org/viewcvs?rev=276917&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_spark.adb (Check_Callable_Body): Likewise. (Check_Package_Body): Likewise. * 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: branches/gcc-9-branch/gcc/ada/ChangeLog branches/gcc-9-branch/gcc/ada/sem_ch8.adb branches/gcc-9-branch/gcc/ada/sem_elab.adb branches/gcc-9-branch/gcc/ada/sem_spark.adb branches/gcc-9-branch/gcc/ada/sem_util.adb branches/gcc-9-branch/gcc/ada/sem_util.ads