[Ada] Fix oversight in Delayed_Aspect_Present predicate
authorEric Botcazou <ebotcazou@adacore.com>
Tue, 2 Jun 2020 22:08:17 +0000 (00:08 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 15 Jul 2020 13:42:45 +0000 (09:42 -0400)
commitbdeeeaf71f1f4a9911d85c5aa5ad0500086201dc
treed0df29e3569e1dce2e8ca7acb77dca2e44aee9be
parent3a9222bcb363bff255dc78d2a4aef0ac08da6274
[Ada] Fix oversight in Delayed_Aspect_Present predicate

gcc/ada/

* sem_ch3.adb (Delayed_Aspect_Present): Fix oversight in loop.
* freeze.adb (Freeze_Object_Declaration): Use Declaration_Node
instead of Parent for the sake of consistency.
gcc/ada/freeze.adb
gcc/ada/sem_ch3.adb