[Ada] Refactor duplicated code for floating point attributes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 12:47:39 +0000 (13:47 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 14 Dec 2020 15:51:55 +0000 (10:51 -0500)
commitb27e311783fd5fc6932a748c88cb8b7b1ed956c6
tree767bd4b351ddb534793960a3c52fffe7fd4bb7e4
parent951d7d1319923e5188df3224a9f79ee5804bac80
[Ada] Refactor duplicated code for floating point attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Ceiling, Floor, Fraction, Machine, Machine_Rounding, Model,
Rounding and Unbiased_Rounding.
gcc/ada/sem_attr.adb