Commit afb2d209 by Arnaud Charlet

[multiple changes]

2010-06-18  Gary Dismukes  <dismukes@adacore.com>

	* gnat1drv.adb (Adjust_Global_Switches): Enable
	Use_Expression_With_Actions for AAMP and VM targets.

2010-06-18  Vincent Celier  <celier@adacore.com>

	* prj-nmsc.adb (Process_Linker): Recognize response file format GCC.

From-SVN: r160994
parent e7e4d230
2010-06-18 Gary Dismukes <dismukes@adacore.com>
* gnat1drv.adb (Adjust_Global_Switches): Enable
Use_Expression_With_Actions for AAMP and VM targets.
2010-06-18 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Process_Linker): Recognize response file format GCC.
2010-06-18 Thomas Quinot <quinot@adacore.com>
* exp_ch4.adb: Minor reformatting.
......
......@@ -345,16 +345,12 @@ procedure Gnat1drv is
elsif Debug_Flag_Dot_YY then
Use_Expression_With_Actions := False;
-- If no debug flags, usage off for AAMP, VM, SCIL cases
-- If no debug flags, usage off for SCIL
elsif AAMP_On_Target
or else VM_Target /= No_VM
or else Generate_SCIL
then
elsif Generate_SCIL then
Use_Expression_With_Actions := False;
-- Otherwise normal gcc back end, which does implement this feature so
-- by default we allow its use.
-- Otherwise this feature is implemented, so we allow its use
else
Use_Expression_With_Actions := True;
......
......@@ -1838,6 +1838,9 @@ package body Prj.Nmsc is
elsif Name = Name_Gnu then
Project.Config.Resp_File_Format := GNU;
elsif Name_Buffer (1 .. Name_Len) = "gcc" then
Project.Config.Resp_File_Format := GCC;
elsif Name = Name_Object_List then
Project.Config.Resp_File_Format := Object_List;
......
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