re PR ada/91995 (gnat miscompilation and bootstrap failure on m68k-linux)
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 12 Oct 2019 14:47:34 +0000 (14:47 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 12 Oct 2019 14:47:34 +0000 (14:47 +0000)
commit9aa357c75358a51f038e50f7c8d9207b58c157e0
treec848d422a4d6c884a4a4a2c644ada53d6ad6ebc4
parent853ce7c073eedfba1adfb63530a8bd2baa767137
re PR ada/91995 (gnat miscompilation and bootstrap failure on m68k-linux)

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.

From-SVN: r276916
gcc/ada/ChangeLog
gcc/ada/sem_ch8.adb
gcc/ada/sem_elab.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads