[Ada] Refactor repeated code for floating point attributes returning ints
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 15:54:58 +0000 (16:54 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:50 +0000 (06:41 -0500)
commit82b4bbb7a4b4fdd285ccb8494ea3ef51494a57da
treee3cf77b3a2fc9eebac283c9c6ff0e56eb2df9612
parente5f53db770e33d78e415be1766f9ebf36e5152e6
[Ada] Refactor repeated code for floating point attributes returning ints

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge identical code for
Emax, Machine_Emax, Machine_Emin, Machine_Mantissa, Model_Emin,
Model_Mantissa and Safe_Emax attributes.
gcc/ada/sem_attr.adb