aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-valboo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/libgnat/s-valboo.adb')
-rw-r--r--gcc/ada/libgnat/s-valboo.adb11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/ada/libgnat/s-valboo.adb b/gcc/ada/libgnat/s-valboo.adb
index 8db3316..93d6fb2 100644
--- a/gcc/ada/libgnat/s-valboo.adb
+++ b/gcc/ada/libgnat/s-valboo.adb
@@ -29,14 +29,6 @@
-- --
------------------------------------------------------------------------------
--- Ghost code, loop invariants and assertions in this unit are meant for
--- analysis only, not for run-time checking, as it would be too costly
--- otherwise. This is enforced by setting the assertion policy to Ignore.
-
-pragma Assertion_Policy (Ghost => Ignore,
- Loop_Invariant => Ignore,
- Assert => Ignore);
-
with System.Val_Util; use System.Val_Util;
package body System.Val_Bool
@@ -55,9 +47,6 @@ is
begin
Normalize_String (S, F, L, To_Upper_Case => True);
- pragma Assert (F = System.Val_Spec.First_Non_Space_Ghost
- (S, Str'First, Str'Last));
-
if S (F .. L) = "TRUE" then
return True;