]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Attributes Put_Image and Object_Size are defined by Ada 2022
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 1 Feb 2024 12:15:27 +0000 (13:15 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Mon, 13 May 2024 08:03:34 +0000 (10:03 +0200)
commit7e348a40db285d451652ed8f7f022ca4c9022da7
tree35431c74c45aa39aa485058ddefc50f73078764c
parentc1ece0ca7d31f191c97ff0bdc72e0f0416e72774
ada: Attributes Put_Image and Object_Size are defined by Ada 2022

Recognize references to attributes Put_Image and Object_Size as
language-defined in Ada 2022 and implementation-defined in earlier
versions of Ada. Other attributes listed in Ada 2022 RM, K.2 and
currently implemented in GNAT are correctly categorized.

This change only affects code with restriction
No_Implementation_Attributes.

gcc/ada/

* sem_attr.adb (Attribute_22): Add Put_Image and Object_Size.
* sem_attr.ads (Attribute_Imp_Def): Remove Object_Size.
gcc/ada/sem_attr.adb
gcc/ada/sem_attr.ads