[Ada] Remove excessive conditions in iterations across components
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 15 Jan 2021 13:01:59 +0000 (14:01 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 May 2021 07:51:21 +0000 (03:51 -0400)
commit04598eb03b1b44c4fc3c253841a7672066835ed9
tree916208a2a3b8a851e5e6dadf5baa967500ffe593
parentc2f94a898f16d790e21533a6e0d345c23dd379a0
[Ada] Remove excessive conditions in iterations across components

gcc/ada/

* exp_ch3.adb (Expand_Freeze_Array_Type): Remove excessive
condition.
(Expand_N_Object_Declaration): Likewise.
(Build_Equivalent_Aggregate): Likewise.
(Initialization_Warning): Likewise; change another excessive
condition into assertion.
* freeze.adb (Freeze_Entity): Remove excessive condition.
gcc/ada/exp_ch3.adb
gcc/ada/freeze.adb