[Ada] Allow 'Reduce with -gnat2022
commitc21a0097b63f1117b780f7b56332d40d5cbc9625
authorArnaud Charlet <charlet@adacore.com>
Sun, 20 Mar 2022 09:12:32 +0000 (20 09:12 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 17 May 2022 08:25:44 +0000 (17 08:25 +0000)
tree286264442e6e966ca0dad0fac591ba4b5529e9cd
parent6e2d6b8e8ead146f6d7e314c9d6763bbefc7459b
[Ada] Allow 'Reduce with -gnat2022

After a period of experimentation, allow 'Reduce in Ada 2022 mode.

gcc/ada/

* sem_attr.adb (Analyze_Attribute [Attribute_Reduce]): Allow
'Reduce for Ada 2022 and above.
* sem_attr.ads (Attribute_Impl_Def): 'Reduce is no longer
implementation defined.
gcc/ada/sem_attr.adb
gcc/ada/sem_attr.ads