2017-09-11 Yannick Moy <moy@adacore.com>
* gnat1drv.adb (Adjust_Global_Switches): Set
Check_Validity_Of_Parameters to False in GNATprove mode.
* opt.ads (Check_Validity_Of_Parameters): Document switch to
set option.
From-SVN: r251959
+2017-09-11 Yannick Moy <moy@adacore.com>
+
+ * gnat1drv.adb (Adjust_Global_Switches): Set
+ Check_Validity_Of_Parameters to False in GNATprove mode.
+ * opt.ads (Check_Validity_Of_Parameters): Document switch to
+ set option.
+
2017-09-09 Pierre-Marie de Rodat <derodat@adacore.com>
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Don't
Reset_Validity_Check_Options;
Validity_Check_Default := True;
Validity_Check_Copies := True;
+ Check_Validity_Of_Parameters := False;
-- Turn off style check options and ignore any style check pragmas
-- since we are not interested in any front-end warnings when we are
-- data is directly detected by GNATprove's flow analysis.
Validity_Checks_On := False;
+ Check_Validity_Of_Parameters := False;
-- Turn off style check options since we are not interested in any
-- front-end warnings when we are getting SPARK output.
Check_Validity_Of_Parameters : Boolean := False;
-- GNAT
-- Set to True to check for proper scalar initialization of subprogram
- -- parameters on both entry and exit. Turned on by??? turned off by???
+ -- parameters on both entry and exit. This is turned on by -gnateV.
Check_Withs : Boolean := False;
-- GNAT