ada: Maximize use of existing constant
commit9df64b72bb887ca8802df1a2731403d219bebb5f
authorRonan Desplanques <desplanques@adacore.com>
Fri, 3 Mar 2023 11:33:21 +0000 (3 12:33 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:16 +0000 (25 09:44 +0200)
tree5f1b331b3afbe88123105082d628bdac83c35876
parentbc46312fe9088b16a39303db54d49b43165dec4b
ada: Maximize use of existing constant

This patch does not change the behavior of the compiler and is
intended as a readability improvement.

gcc/ada/

* sem_ch3.adb (Replace_Type): Use existing constant wherever
possible.
gcc/ada/sem_ch3.adb