[Ada] Refactor repeated code for real type attributes returning integers
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 22:30:32 +0000 (23:30 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:51 +0000 (06:41 -0500)
commitcb84595d3f406fb466c68e5ff6661dd8ee4a4e9c
tree6ce0044a11e184ca8474a32bf5fc83f27f6d4d4f
parentf9c82ff43169fe5b1a192b71cbc50fd93b6e6a9c
[Ada] Refactor repeated code for real type attributes returning integers

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Machine_Radix and Mantissa attributes.
gcc/ada/sem_attr.adb