Commit 9ae497cb by Arnaud Charlet Committed by Pierre-Marie de Rodat

[Ada] Set Dynamic_Elaboration_Checks to True in CodePeer mode

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
parent e5ce97d2
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
......
......@@ -320,7 +320,12 @@ procedure Gnat1drv is
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment