ada: Duplicate declaration of _master entity
commitbdda3d2960f884488cf9fcc817a541e709ddb7e7
authorJavier Miranda <miranda@adacore.com>
Tue, 14 Mar 2023 20:46:34 +0000 (14 20:46 +0000)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 26 May 2023 07:29:16 +0000 (26 09:29 +0200)
treedac9f6abd15df104300c262d6d7b394e519d245d
parent8cb3fcc43818344002e38ea78979b77b62649906
ada: Duplicate declaration of _master entity

gcc/ada/

* exp_ch9.adb (Build_Class_Wide_Master): Remember internal blocks
that have a task master entity declaration.
(Build_Master_Entity): Code cleanup.
* sem_util.ads (Is_Internal_Block): New subprogram.
* sem_util.adb (Is_Internal_Block): New subprogram.
gcc/ada/exp_ch9.adb
gcc/ada/sem_util.adb
gcc/ada/sem_util.ads