[Ada] Skip unnecessary iterations over constraint expressions
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 13 Mar 2020 20:07:56 +0000 (21:07 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 11 Jun 2020 09:53:45 +0000 (05:53 -0400)
commit428d49a5a8d3f39b14519ada0ab46c4193581684
tree560af0eceb2fb3319bb9bb1ee2dfe2110a9d7436
parentc5b55e683cace7be98536c413a70f854a70faaa7
[Ada] Skip unnecessary iterations over constraint expressions

2020-06-11  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* sem_ch3.adb (Build_Constrained_Array_Type,
Build_Constrained_Discriminated_Type): Skip unnecessary loop
iterations.
gcc/ada/sem_ch3.adb