Mercurial > hg > CbC > CbC_gcc
diff gcc/opth-gen.awk @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/opth-gen.awk Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/opth-gen.awk Mon May 24 12:47:05 2010 +0900 @@ -1,4 +1,5 @@ -# Copyright (C) 2003,2004,2005,2006,2007,2008 Free Software Foundation, Inc. +# Copyright (C) 2003,2004,2005,2006,2007,2008, 2010 +# Free Software Foundation, Inc. # Contributed by Kelley Cook, June 2004. # Original code from Neil Booth, May 2003. # @@ -330,12 +331,7 @@ } len = length (opts[i]); - enum = "OPT_" opts[i] - if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=") - enum = enum "eq" - if (opts[i] == "gdwarf+") - enum = "OPT_gdwarfplus" - gsub ("[^A-Za-z0-9]", "_", enum) + enum = opt_enum(opts[i]) # If this switch takes joined arguments, back-chain all # subsequent switches to it for which it is a prefix. If