[Ada] Minor refine type of a counter variable
authorPiotr Trojanek <trojanek@adacore.com>
Fri, 9 Oct 2020 07:59:22 +0000 (09:59 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Wed, 25 Nov 2020 13:22:21 +0000 (08:22 -0500)
commit97a26d19d23e6379d50e4d76bc72c429d78cb17f
tree60f8d1a2548078a9729d54491a7b82c3d7f5d12b
parentbc771e6c3a2b1fe74328639a00531fc0c3923e43
[Ada] Minor refine type of a counter variable

gcc/ada/

* exp_attr.adb (Expand_N_Attribute_Reference): A variable that
is only incremented in the code has now type Nat; conversion is
now unnecessary.
gcc/ada/exp_attr.adb