]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Ada] Fix for missing calls to Adjust primitive with nested generics
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 17 Jan 2020 18:37:39 +0000 (19:37 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 3 Jun 2020 10:01:49 +0000 (06:01 -0400)
commit4fc2610a8301198367c590759a578b03167a1868
tree5ceea2da69602a29712db0ccc6767162adc32ef9
parent48b185bd015b72e43736e79887afe31296ae5fe2
[Ada] Fix for missing calls to Adjust primitive with nested generics

2020-06-03  Eric Botcazou  <ebotcazou@adacore.com>

gcc/ada/

* sem_ch12.adb (Denotes_Previous_Actual): Delete.
(Check_Generic_Actuals): Do not special case array types whose
component type denotes a previous actual.  Do not special case
access types whose base type is private.
(Check_Private_View): Remove code dealing with secondary types.
Do not switch the views of an array because of its component.
(Copy_Generic_Node): Add special handling for a comparison
operator on array types.
(Instantiate_Type): Do not special case access types whose
designated type is private.
(Set_Global_Type): Do not special case array types whose
component type is private.
gcc/ada/sem_ch12.adb