2019-07-09 Arnaud Charlet <charlet@adacore.com>
gcc/ada/
* gnat1drv.adb (Adjust_Global_Switches): Set
Dynamic_Elaboration_Checks to True in CodePeer mode.
From-SVN: r273268
+2019-07-09 Arnaud Charlet <charlet@adacore.com>
+
+ * gnat1drv.adb (Adjust_Global_Switches): Set
+ Dynamic_Elaboration_Checks to True in CodePeer mode.
+
2019-07-09 Yannick Moy <moy@adacore.com>
* sem_spark.adb (Get_Perm_Or_Tree): Issue an error when
Elaboration_Check => True,
others => False);
- Dynamic_Elaboration_Checks := False;
+ -- Need to enable dynamic elaboration checks to disable strict
+ -- static checking performed by gnatbind. We are at the same time
+ -- suppressing actual compile time elaboration checks to simplify
+ -- the generated code.
+
+ Dynamic_Elaboration_Checks := True;
-- Set STRICT mode for overflow checks if not set explicitly. This
-- prevents suppressing of overflow checks by default, in code down