OSDN Git Service

* common.opt (fcx-limited-range): Add SetByCombined flag.
[pf3gnuchains/gcc-fork.git] / gcc / opth-gen.awk
index db32121..c3f6c04 100644 (file)
@@ -1,4 +1,4 @@
-#  Copyright (C) 2003,2004,2005,2006,2007,2008, 2010
+#  Copyright (C) 2003,2004,2005,2006,2007,2008, 2010, 2011
 #  Free Software Foundation, Inc.
 #  Contributed by Kelley Cook, June 2004.
 #  Original code from Neil Booth, May 2003.
@@ -193,6 +193,13 @@ for (i = 0; i < n_opts; i++) {
                print "#endif"
        }
 }
+for (i = 0; i < n_opts; i++) {
+       if (flag_set_p("SetByCombined", flags[i])) {
+               print "#ifndef GENERATOR_FILE"
+               print "  bool frontend_set_" var_name(flags[i]) ";"
+               print "#endif"
+       }
+}
 print "#ifndef GENERATOR_FILE"
 print "};"
 print "extern struct gcc_options global_options;"