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> 2010-06-18 Thomas Quinot <quinot@adacore.com>
* exp_ch4.adb: Minor reformatting. * exp_ch4.adb: Minor reformatting.
......
...@@ -345,16 +345,12 @@ procedure Gnat1drv is ...@@ -345,16 +345,12 @@ procedure Gnat1drv is
elsif Debug_Flag_Dot_YY then elsif Debug_Flag_Dot_YY then
Use_Expression_With_Actions := False; 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 elsif Generate_SCIL then
or else VM_Target /= No_VM
or else Generate_SCIL
then
Use_Expression_With_Actions := False; Use_Expression_With_Actions := False;
-- Otherwise normal gcc back end, which does implement this feature so -- Otherwise this feature is implemented, so we allow its use
-- by default we allow its use.
else else
Use_Expression_With_Actions := True; Use_Expression_With_Actions := True;
...@@ -377,8 +373,8 @@ procedure Gnat1drv is ...@@ -377,8 +373,8 @@ procedure Gnat1drv is
then then
Back_End_Handles_Limited_Types := False; Back_End_Handles_Limited_Types := False;
-- Otherwise normal gcc back end, for now still turn flag off by -- Otherwise normal gcc back end, for now still turn flag off by
-- default, since we have not verified proper back end handling. -- default, since we have not verified proper back end handling.
else else
Back_End_Handles_Limited_Types := False; Back_End_Handles_Limited_Types := False;
......
...@@ -1838,6 +1838,9 @@ package body Prj.Nmsc is ...@@ -1838,6 +1838,9 @@ package body Prj.Nmsc is
elsif Name = Name_Gnu then elsif Name = Name_Gnu then
Project.Config.Resp_File_Format := GNU; 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 elsif Name = Name_Object_List then
Project.Config.Resp_File_Format := Object_List; 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