[Ada] AI12-0228 Properties of qualified expressions used as names
authorArnaud Charlet <charlet@adacore.com>
Mon, 17 Feb 2020 17:41:37 +0000 (12:41 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 8 Jun 2020 07:51:10 +0000 (03:51 -0400)
commit4b8c2c4ba3566f8dd6d256e4b93321410782a0b4
treeaaf437ff87e097d88686df3196640419c85f94fe
parent8eda13a49e566270f04323dbec11b2e86d3ddccc
[Ada] AI12-0228 Properties of qualified expressions used as names

2020-06-08  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* sem_ch8.adb (Analyze_Object_Renaming): Update Get_Object_Name
to go through N_Qualified_Expression and N_Type_Conversion.  Fix
another case of wrong usage of E_Anonymous_Access_Type instead
of Anonymous_Access_Kind.
* sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): Work
on the original node.
(Is_Aliased_View): Take into account N_Qualified_Expression.
gcc/ada/sem_ch8.adb
gcc/ada/sem_util.adb