From 353e3024d478b1059dff5bfc97e552d1928dadc0 Mon Sep 17 00:00:00 2001 From: charlet Date: Mon, 20 Jul 2009 13:51:39 +0000 Subject: [PATCH] 2009-07-20 Vincent Celier * switch-m.ads (Normalize_Compiler_Switches): Take into account switches -gnatw.? git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149820 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/ChangeLog | 4 ++-- gcc/ada/switch-m.ads | 5 ++--- 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 - * 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 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 -- 2.7.4