[Ada] Fix transformation of Suppress aspect into pragma
authorGhjuvan Lacambre <lacambre@adacore.com>
Thu, 13 Aug 2020 08:36:08 +0000 (10:36 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 22 Oct 2020 12:11:20 +0000 (08:11 -0400)
commit8be08b9b67df52d90280f3b1314dc038943ffa3f
tree40ee53a10f70a50532bcce4531715441d66d476a
parent08c8883f44b80fd9802d90277db2a0a54975810c
[Ada] Fix transformation of Suppress aspect into pragma

gcc/ada/

* sem_ch13.adb (Make_Aitem_Pragma): Turn into function. This
removes a side-effect on the Aitem variable.
(Analyze_Aspect_Specifications): Handle Suppress and Unsuppress
aspects differently from the Linker_Section aspect.
(Ceck_Aspect_At_Freeze_Point): Don't expect Suppress/Unsuppress
to be delayed anymore.
gcc/ada/sem_ch13.adb