diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2023-12-16 13:20:06 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-05-06 11:11:26 +0200 |
commit | 6be1fe296e58128b994a1b877a45b459a2dadf06 (patch) | |
tree | e435d70b5363250cc1100aa7b860a2b6ecb4b04c /gcc/ada/fe.h | |
parent | 4002a72aff546e20b6efc75147bebdf893891ea6 (diff) | |
download | gcc-6be1fe296e58128b994a1b877a45b459a2dadf06.zip gcc-6be1fe296e58128b994a1b877a45b459a2dadf06.tar.gz gcc-6be1fe296e58128b994a1b877a45b459a2dadf06.tar.bz2 |
ada: Extend Round attribute to ordinary fixed point types
The attribute is only defined by the language for decimal fixed point
types (RM 3.5.10(12)) but it could be useful to have it for ordinary
fixed point types too because conversions from floating point truncate
in both cases.
gcc/ada/
* sem_attr.adb (Analyze_Attribute) <Attribute_Round>: Also accept it
for ordinary fixed point types.
* doc/gnat_rm/implementation_defined_attributes.rst (Round): New.
* gnat_rm.texi: Regenerate.
Diffstat (limited to 'gcc/ada/fe.h')
0 files changed, 0 insertions, 0 deletions