summaryrefslogtreecommitdiff
path: root/lang/spark/files/patch-gnat2why_spark_spark__definition.adb
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-06-24 13:32:41 +0000
committerJohn Marino <marino@FreeBSD.org>2015-06-24 13:32:41 +0000
commit290da07c50570aecc28ce143f5c73ccb45592b2c (patch)
tree29d8d94d4d315b0666a83a9425acf7cc859b4cb5 /lang/spark/files/patch-gnat2why_spark_spark__definition.adb
parent- Update to 0.012 (diff)
Add new file lang/spark (will become run-depends for GPS)
SPARK 2014 is a programming language and a set of verification tools designed to meet the needs of high-assurance software development. SPARK is based on Ada 2012, both subsetting the language to remove features that defy verification, but also extending the system of contracts and aspects to support modular, formal verification. The new aspects support abstraction and refinement and facilitate deep static analysis to be performed including information-flow analysis and formal verification of an implementation against a specification. SPARK is a much larger and more flexible language than its predecessor SPARK 2005. The language can be configured to suit a number of application domains and standards, from server-class high-assurance systems (such as air-traffic management applications), to embedded, hard real-time, critical systems (such as avionic systems complying with DO-178C Level A). A major feature of SPARK is the support for a mixture of proof and other verification methods such as testing, which facilitates the use of unit proof in place of unit testing; an approach now formalized in DO-178C and the DO-333 formal methods supplement. Certain units may be formally proven and other units validated through testing.
Diffstat (limited to 'lang/spark/files/patch-gnat2why_spark_spark__definition.adb')
-rw-r--r--lang/spark/files/patch-gnat2why_spark_spark__definition.adb75
1 files changed, 75 insertions, 0 deletions
diff --git a/lang/spark/files/patch-gnat2why_spark_spark__definition.adb b/lang/spark/files/patch-gnat2why_spark_spark__definition.adb
new file mode 100644
index 000000000000..2c6b53a90136
--- /dev/null
+++ b/lang/spark/files/patch-gnat2why_spark_spark__definition.adb
@@ -0,0 +1,75 @@
+--- gnat2why/spark/spark_definition.adb.orig 2014-04-10 15:20:35 UTC
++++ gnat2why/spark/spark_definition.adb
+@@ -2989,6 +2989,7 @@ package body SPARK_Definition is
+ Pragma_Elaborate_All |
+ Pragma_Elaborate_Body |
+ Pragma_Export |
++ Pragma_Extensions_Visible |
+ Pragma_Independent |
+ Pragma_Independent_Components |
+ Pragma_Inline |
+@@ -3022,8 +3023,10 @@ package body SPARK_Definition is
+ Pragma_Async_Writers |
+ Pragma_Contract_Cases |
+ Pragma_Depends |
++ Pragma_Default_Initial_Condition |
+ Pragma_Effective_Reads |
+ Pragma_Effective_Writes |
++ Pragma_Ghost |
+ Pragma_Global |
+ Pragma_Initializes |
+ Pragma_Initial_Condition |
+@@ -3050,6 +3053,8 @@ package body SPARK_Definition is
+ Pragma_Check_Policy |
+ Pragma_Inline_Always |
+ Pragma_Linker_Section |
++ Pragma_No_Elaboration_Code_All |
++ Pragma_No_Tagged_Streams |
+ Pragma_Pure_Function |
+ Pragma_Restriction_Warnings |
+ Pragma_Style_Checks |
+@@ -3081,7 +3086,6 @@ package body SPARK_Definition is
+ when Pragma_Abort_Defer |
+ Pragma_Allow_Integer_Address |
+ Pragma_Attribute_Definition |
+- Pragma_AST_Entry |
+ Pragma_C_Pass_By_Copy |
+ Pragma_Check_Float_Overflow |
+ Pragma_Check_Name |
+@@ -3111,7 +3115,6 @@ package body SPARK_Definition is
+ Pragma_Elaboration_Checks |
+ Pragma_Eliminate |
+ Pragma_Enable_Atomic_Synchronization |
+- Pragma_Export_Exception |
+ Pragma_Export_Function |
+ Pragma_Export_Object |
+ Pragma_Export_Procedure |
+@@ -3124,12 +3127,10 @@ package body SPARK_Definition is
+ Pragma_Fast_Math |
+ Pragma_Favor_Top_Level |
+ Pragma_Finalize_Storage_Only |
+- Pragma_Float_Representation |
+ Pragma_Ident |
+ Pragma_Implementation_Defined |
+ Pragma_Implemented |
+ Pragma_Implicit_Packing |
+- Pragma_Import_Exception |
+ Pragma_Import_Function |
+ Pragma_Import_Object |
+ Pragma_Import_Procedure |
+@@ -3149,7 +3150,6 @@ package body SPARK_Definition is
+ Pragma_Linker_Alias |
+ Pragma_Linker_Constructor |
+ Pragma_Linker_Destructor |
+- Pragma_Long_Float |
+ Pragma_Loop_Optimize |
+ Pragma_Machine_Attribute |
+ Pragma_Main |
+@@ -3170,6 +3170,7 @@ package body SPARK_Definition is
+ Pragma_Post_Class |
+ Pragma_Pre |
+ Pragma_Predicate |
++ Pragma_Prefix_Exception_Messages |
+ Pragma_Pre_Class |
+ Pragma_Priority_Specific_Dispatching |
+ Pragma_Profile_Warnings |