summaryrefslogtreecommitdiff
path: root/lang/spark/files/patch-gnat2why_smissing.c
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_smissing.c
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_smissing.c')
-rw-r--r--lang/spark/files/patch-gnat2why_smissing.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/spark/files/patch-gnat2why_smissing.c b/lang/spark/files/patch-gnat2why_smissing.c
new file mode 100644
index 000000000000..16393dcc8ebc
--- /dev/null
+++ b/lang/spark/files/patch-gnat2why_smissing.c
@@ -0,0 +1,18 @@
+--- gnat2why/smissing.c.orig 2014-04-10 15:20:38 UTC
++++ gnat2why/smissing.c
+@@ -32,6 +32,15 @@
+ allocation strategy for large objects in certain cases). */
+ int flag_stack_check = 0;
+
++/* Controls the balance between GNAT encodings and standard DWARF to
++ emit in the debug information. Useful for DWARF debugging information
++ generation only so not used in SPARK2014 */
++int gnat_encodings = 0;
++
++/* controlled by -fcompare-debug option on gcc, hardcode to 0 based on
++ comment above */
++int flag_compare_debug = 0;
++
+ /* Originally defined in GCC's toplev.c. */
+ int optimize = 0;
+ int optimize_size = 0;