[Ada] Annotate Ada.Synchronous_Barriers with SPARK_Mode => Off
authorPiotr Trojanek <trojanek@adacore.com>
Tue, 25 Feb 2020 12:58:04 +0000 (13:58 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Jun 2020 08:09:00 +0000 (04:09 -0400)
2020-06-09  Piotr Trojanek  <trojanek@adacore.com>

gcc/ada/

* libgnarl/a-synbar.ads, libgnarl/a-synbar.adb,
libgnarl/a-synbar__posix.ads, libgnarl/a-synbar__posix.adb
(Ada.Synchronous_Barriers): Annotate with SPARK_Mode => Off.

gcc/ada/libgnarl/a-synbar.adb
gcc/ada/libgnarl/a-synbar.ads
gcc/ada/libgnarl/a-synbar__posix.adb
gcc/ada/libgnarl/a-synbar__posix.ads

index 6f5664d3c306bbcb9974e51befc40df31772f98c..df4f9f4f2625e5cdae61d4a780282a3f35ef056e 100644 (file)
@@ -33,7 +33,7 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
-package body Ada.Synchronous_Barriers is
+package body Ada.Synchronous_Barriers with SPARK_Mode => Off is
 
    protected body Synchronous_Barrier is
 
index 3458e58e63af50d99be6487623831fee3ebf4e66..c42369574813b6b4928fc2edc14f6eb63000383a 100644 (file)
@@ -33,7 +33,7 @@
 --                                                                          --
 ------------------------------------------------------------------------------
 
-package Ada.Synchronous_Barriers is
+package Ada.Synchronous_Barriers with SPARK_Mode => Off is
    pragma Preelaborate (Synchronous_Barriers);
 
    subtype Barrier_Limit is Positive range 1 .. Positive'Last;
index 295047cad8f7a414d196c07bffa621ff493bbd7f..96f4a7b680b49a7bae0eb05cd1abf1520b943785 100644 (file)
@@ -37,7 +37,7 @@
 
 with Interfaces.C; use Interfaces.C;
 
-package body Ada.Synchronous_Barriers is
+package body Ada.Synchronous_Barriers with SPARK_Mode => Off is
 
    --------------------
    -- POSIX barriers --
index 553725c2f2ade9de73ca4f21c2d6aa09cc183eda..afbeb6bcf5d48099b69dc14b8e9340749f96e35f 100644 (file)
@@ -39,7 +39,7 @@ with System;
 private with Ada.Finalization;
 private with Interfaces.C;
 
-package Ada.Synchronous_Barriers is
+package Ada.Synchronous_Barriers with SPARK_Mode => Off is
    pragma Preelaborate (Synchronous_Barriers);
 
    subtype Barrier_Limit is Positive range 1 .. Positive'Last;