[Ada] AI12-0235 System.Storage_Pools should be pure
authorArnaud Charlet <charlet@adacore.com>
Fri, 31 Jan 2020 11:05:01 +0000 (06:05 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Fri, 5 Jun 2020 12:17:36 +0000 (08:17 -0400)
2020-06-05  Arnaud Charlet  <charlet@adacore.com>

gcc/ada/

* libgnat/s-stopoo.ads: Mark package Pure and leave room for
Nonblocking once this aspect is supported.

gcc/ada/libgnat/s-stopoo.ads

index 4d317bcab53d323e8ac4d76b192ade1d6187f969..6e475d2baa06141f148198f57b86b7912baa3d9a 100644 (file)
 with Ada.Finalization;
 with System.Storage_Elements;
 
-package System.Storage_Pools is
-   pragma Preelaborate;
-
+package System.Storage_Pools
+  with Pure
+--  Nonblocking => False
+is
    type Root_Storage_Pool is abstract
      new Ada.Finalization.Limited_Controlled with private;
    pragma Preelaborable_Initialization (Root_Storage_Pool);