From 6859ef489341d436ebf2fd5d41282c4f68b0283d Mon Sep 17 00:00:00 2001 From: Piotr Trojanek Date: Tue, 25 Feb 2020 13:58:04 +0100 Subject: [PATCH] [Ada] Annotate Ada.Synchronous_Barriers with SPARK_Mode => Off 2020-06-09 Piotr Trojanek 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 | 2 +- gcc/ada/libgnarl/a-synbar.ads | 2 +- gcc/ada/libgnarl/a-synbar__posix.adb | 2 +- gcc/ada/libgnarl/a-synbar__posix.ads | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/ada/libgnarl/a-synbar.adb b/gcc/ada/libgnarl/a-synbar.adb index 6f5664d3c30..df4f9f4f262 100644 --- a/gcc/ada/libgnarl/a-synbar.adb +++ b/gcc/ada/libgnarl/a-synbar.adb @@ -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 diff --git a/gcc/ada/libgnarl/a-synbar.ads b/gcc/ada/libgnarl/a-synbar.ads index 3458e58e63a..c4236957481 100644 --- a/gcc/ada/libgnarl/a-synbar.ads +++ b/gcc/ada/libgnarl/a-synbar.ads @@ -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; diff --git a/gcc/ada/libgnarl/a-synbar__posix.adb b/gcc/ada/libgnarl/a-synbar__posix.adb index 295047cad8f..96f4a7b680b 100644 --- a/gcc/ada/libgnarl/a-synbar__posix.adb +++ b/gcc/ada/libgnarl/a-synbar__posix.adb @@ -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 -- diff --git a/gcc/ada/libgnarl/a-synbar__posix.ads b/gcc/ada/libgnarl/a-synbar__posix.ads index 553725c2f2a..afbeb6bcf5d 100644 --- a/gcc/ada/libgnarl/a-synbar__posix.ads +++ b/gcc/ada/libgnarl/a-synbar__posix.ads @@ -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; -- 2.30.2