aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2009-07-20 13:51:39 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2009-07-20 15:51:39 +0200
commit151293b57f144ea83d7d4057515879282b42a800 (patch)
tree28aea3500511ed5d9497d63229087739e0f0289a
parent1be9633f758e6174e0ff31c609713a4783f2f865 (diff)
downloadgcc-151293b57f144ea83d7d4057515879282b42a800.zip
gcc-151293b57f144ea83d7d4057515879282b42a800.tar.gz
gcc-151293b57f144ea83d7d4057515879282b42a800.tar.bz2
switch-m.ads (Normalize_Compiler_Switches): Take into account switches -gnatw.?
2009-07-20 Vincent Celier <celier@adacore.com> * switch-m.ads (Normalize_Compiler_Switches): Take into account switches -gnatw.? From-SVN: r149820
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/switch-m.ads5
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 33d78b8..a3aeec6 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -20,8 +20,8 @@
2009-07-20 Vincent Celier <celier@adacore.com>
- * switch-m.adb (Normalize_Compiler_Switches): Take into account
- switches -gnatw.?
+ * switch-m.ads, switch-m.adb (Normalize_Compiler_Switches): Take into
+ account switches -gnatw.?
2009-07-20 Thomas Quinot <quinot@adacore.com>
diff --git a/gcc/ada/switch-m.ads b/gcc/ada/switch-m.ads
index b0f1b9e..9a6124b 100644
--- a/gcc/ada/switch-m.ads
+++ b/gcc/ada/switch-m.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2009, 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- --
@@ -62,8 +62,7 @@ package Switch.M is
-- they are shallow copies of components in a table in the body.
function Normalize_Compiler_Switches
- (Switch_Chars : String)
- return Argument_List;
+ (Switch_Chars : String) return Argument_List;
-- Similar to the previous procedure. The return value is the list of
-- simple switches. It may be an empty array if it has been determined
-- that Switch_Chars is ill-formed or does not contain any switch that