[Ada] Remove redundant check in iteration over formal parameters
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 8 Jan 2021 16:01:27 +0000 (17:01 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 5 May 2021 08:18:58 +0000 (04:18 -0400)
commit61b54320da90358a010e93b086230ca0627a8fe6
tree0a4c5b194a8cf833a699d29198d84e2a18da1ada
parent5e54a5cff4a7e3bd977c15849e431563eecd67ae
[Ada] Remove redundant check in iteration over formal parameters

gcc/ada/

* freeze.adb (Build_Renamed_Body): Simplify IF and WHILE
statements with the same condition.
gcc/ada/freeze.adb