[Ada] Refactor repeated code for floating point attributes returning reals
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 22:21:19 +0000 (23:21 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:50 +0000 (06:41 -0500)
commit156f9796d5050730ab45d99162ab4309c0bdc6ee
tree417f74155afefe07a94b09c6d05c35aed98aaa0c
parent82b4bbb7a4b4fdd285ccb8494ea3ef51494a57da
[Ada] Refactor repeated code for floating point attributes returning reals

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Epsilon, Model_Epsilon, Model_Small, Safe_First and Safe_Las
attributes.
gcc/ada/sem_attr.adb