From 9b8df6be999b4a2d7c2f33b3e28f6af7f85f550f Mon Sep 17 00:00:00 2001 From: charlet Date: Mon, 19 Mar 2012 16:41:25 +0000 Subject: 2012-03-19 Yannick Moy * sem_ch6.adb: Minor code clean up. 2012-03-19 Vincent Celier * make.adb (Scan_Make_Arg): Make sure all significant -m switches on the command line are counted. 2012-03-19 Robert Dewar * sem_elab.adb (Generate_Elab_Warnings): Fix spec, fix attribute reference case 2012-03-19 Robert Dewar * par-ch4.adb (Check_Bad_Exp): New procedure 2012-03-19 Robert Dewar * exp_attr.adb, sem_attr.adb, sem_attr.ads, snames.ads-tmpl: Add initial framework for Valid_Scalars attribute. 2012-03-19 Robert Dewar * scng.adb (Scan): Recognize incorrect preprocessor directive 2012-03-19 Robert Dewar * atree.adb (Allocate_Initialize_Node): Use Num_Extension_Nodes * atree.ads (Num_Extension_Nodes): New variable * debug.adb: New debug flag -gnatd.N * gnat1drv.adb (Adjust_Global_Switches): Adjust Num_Extension_Nodes if -gnatd.N set 2012-03-19 Eric Botcazou * einfo.ads: Minor update to First_Rep_Item and Has_Gigi_Rep_Item descriptions. 2012-03-19 Robert Dewar * opt.ads: Remove HLO_Active flag. * sem.adb: Remove call of high level optimizer. * sem.ads (New_Nodes_OK): Removed. * sem_ch10.adb: Remove references to New_Nodes_OK. * switch-c.adb: Remove handling of -gnatH switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185528 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/make.adb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/ada/make.adb') diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb index e2512a0678c..e43495bd238 100644 --- a/gcc/ada/make.adb +++ b/gcc/ada/make.adb @@ -7423,6 +7423,16 @@ package body Make is Add_Switch (Argv, Program_Args, And_Save => And_Save); + -- Make sure that all significant switches -m on the command line + -- are counted. + + if Argv'Length > 2 + and then Argv (1 .. 2) = "-m" + and then Argv /= "-mieee" + then + N_M_Switch := N_M_Switch + 1; + end if; + -- Handle non-default compiler, binder, linker, and handle --RTS switch elsif Argv'Length > 2 and then Argv (1 .. 2) = "--" then -- cgit v1.2.1