[Ada] Process Truncation just like other floating point attributes
authorPiotr Trojanek <trojanek@adacore.com>
Mon, 23 Nov 2020 13:24:50 +0000 (14:24 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 14 Dec 2020 15:51:55 +0000 (10:51 -0500)
commit041f8c70ad0e9cf0b40a3e51c444349bf00d35a3
tree4a8e0c0552b6f366a061aadcd9326df0855ea21f
parentb27e311783fd5fc6932a748c88cb8b7b1ed956c6
[Ada] Process Truncation just like other floating point attributes

gcc/ada/

* sem_attr.adb (Analyze_Attribute): Merge similar code for
Truncation and other floating point attributes.
gcc/ada/sem_attr.adb