Commit 87843c83 by Daniel Mercier Committed by Pierre-Marie de Rodat

[Ada] Turn off length expansion in CodePeer mode

2018-05-23  Daniel Mercier  <mercier@adacore.com>

gcc/ada/

	* gnat1drv.adb: Turn off length expansion in CodePeer mode.

From-SVN: r260575
parent 32677654
2018-05-23 Daniel Mercier <mercier@adacore.com>
* gnat1drv.adb: Turn off length expansion in CodePeer mode.
2018-05-23 Bob Duff <duff@adacore.com> 2018-05-23 Bob Duff <duff@adacore.com>
* freeze.adb: (Check_Address_Clause): Deal with build-in-place * freeze.adb: (Check_Address_Clause): Deal with build-in-place
......
...@@ -247,6 +247,10 @@ procedure Gnat1drv is ...@@ -247,6 +247,10 @@ procedure Gnat1drv is
GNATprove_Mode := False; GNATprove_Mode := False;
Debug_Flag_Dot_FF := False; Debug_Flag_Dot_FF := False;
-- Turn off length expansion. CodePeer has its own mechanism to
-- handle length attribute.
Debug_Flag_Dot_PP := True;
-- Turn off C tree generation, not compatible with CodePeer mode. We -- Turn off C tree generation, not compatible with CodePeer mode. We
-- do not expect this to happen in normal use, since both modes are -- do not expect this to happen in normal use, since both modes are
-- enabled by special tools, but it is useful to turn off these flags -- enabled by special tools, but it is useful to turn off these flags
......
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