[Ada] Refactor repeated code for real type attributes returning reals
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 22:27:21 +0000 (23:27 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:51 +0000 (06:41 -0500)
commit4c11930d2e09a1efb0af65af8c14b1ad16a1f884
tree734f1c0896cbea34f0edeeb865c30f8e68807e2e
parent156f9796d5050730ab45d99162ab4309c0bdc6ee
[Ada] Refactor repeated code for real type attributes returning reals

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Large, Small, Safe_Large and Safe_Small attributes.
gcc/ada/sem_attr.adb