summaryrefslogtreecommitdiff
path: root/gcc/ada/switch-b.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:50:04 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2007-06-06 10:50:04 +0000
commitb48868a559feed27929959c8078a3ace53adfd81 (patch)
tree73e475bd819beb953c2fa4a439934400dfca245e /gcc/ada/switch-b.adb
parent8e999ebcf9876d12d8f84d799f141275320bb411 (diff)
downloadgcc-b48868a559feed27929959c8078a3ace53adfd81.tar.gz
2007-04-20 Vincent Celier <celier@adacore.com>
* switch-b.adb (Scan_Binder_Switches): Add processing for new switches -R and -Z * switch-m.adb (Normalize_Compiler_Switches): Do not record switch -E (Scan_Make_Switches): Recognize new switch -aP git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125470 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/switch-b.adb')
-rw-r--r--gcc/ada/switch-b.adb15
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ada/switch-b.adb b/gcc/ada/switch-b.adb
index ee8ac6a2512..3869d8463f8 100644
--- a/gcc/ada/switch-b.adb
+++ b/gcc/ada/switch-b.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2001-2005, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2006, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -336,6 +336,13 @@ package body Switch.B is
Ptr := Ptr + 1;
List_Restrictions := True;
+ -- Processing for R switch
+
+ when 'R' =>
+ Ptr := Ptr + 1;
+ Check_Only := True;
+ List_Closure := True;
+
-- Processing for s switch
when 's' =>
@@ -456,6 +463,12 @@ package body Switch.B is
Ptr := Ptr + 1;
No_Main_Subprogram := True;
+ -- Processing for Z switch
+
+ when 'Z' =>
+ Ptr := Ptr + 1;
+ Zero_Formatting := True;
+
-- Processing for --RTS
when '-' =>