GNAT does not issue a warning anymore on a postcondition of True (used
here to prevent inining inside GNATprove for proof).
gcc/ada/
* libgnat/s-valuei.ads: Remove pragma Warnings Off.
* libgnat/s-valueu.ads: Same.
* libgnat/s-valuti.ads: Same.
Contract_Cases => Ignore,
Ghost => Ignore,
Subprogram_Variant => Ignore);
-pragma Warnings (Off, "postcondition does not mention function result");
--- True postconditions are used to avoid inlining for GNATprove
with System.Val_Util; use System.Val_Util;
Contract_Cases => Ignore,
Ghost => Ignore,
Subprogram_Variant => Ignore);
-pragma Warnings (Off, "postcondition does not mention function result");
--- True postconditions are used to avoid inlining for GNATprove
with System.Val_Util; use System.Val_Util;
Post => Ignore,
Contract_Cases => Ignore,
Ghost => Ignore);
-pragma Warnings (Off, "postcondition does not mention function result");
--- True postconditions are used to avoid inlining for GNATprove
with System.Case_Util;