This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Ada] Remove support for obsolete switch


> Then you should also remove the gdwarf+ special case in
> opt-functions.awk:opt_sanitized_name.

Indeed, thanks for pointing this out.  Applied on the mainline as obvious.


	* opt-functions.awk (opt_sanitized_name): Remove gdwarf+ handling.


-- 
Eric Botcazou
Index: opt-functions.awk
===================================================================
--- opt-functions.awk	(revision 165234)
+++ opt-functions.awk	(working copy)
@@ -204,8 +204,6 @@ function var_ref(name, flags)
 # Given the option called NAME return a sanitized version of its name.
 function opt_sanitized_name(name)
 {
-	if (name == "gdwarf+")
-		name = "gdwarfplus"
 	gsub ("[^A-Za-z0-9]", "_", name)
 	return name
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]