Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: gcc/gcc/optc-gen.awk

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/optabs.h ('k') | gcc/gcc/opth-gen.awk » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/optc-gen.awk
diff --git a/gcc/gcc/optc-gen.awk b/gcc/gcc/optc-gen.awk
index 3e644a571df9d84b58d7380e2b1c5a71aeee2973..0cff375324511b9e73f38ff8ac1a3f26d82ec206 100644
--- a/gcc/gcc/optc-gen.awk
+++ b/gcc/gcc/optc-gen.awk
@@ -1,4 +1,5 @@
-# Copyright (C) 2003, 2004, 2007, 2008, 2009 Free Software Foundation, Inc.
+# Copyright (C) 2003, 2004, 2007, 2008, 2009, 2010
+# Free Software Foundation, Inc.
# Contributed by Kelley Cook, June 2004.
# Original code from Neil Booth, May 2003.
#
@@ -149,6 +150,10 @@ for (i = 0; i < n_opts; i++) {
flags[i + 1] = flags[i] " " flags[i + 1];
if (help[i + 1] == "")
help[i + 1] = help[i]
+ else if (help[i] != "" && help[i + 1] != help[i])
+ print "warning: multiple different help strings for " \
+ opts[i] ":\n\t" help[i] "\n\t" help[i + 1] \
+ | "cat 1>&2"
i++;
back_chain[i] = "N_OPTS";
indices[opts[i]] = j;
@@ -166,7 +171,8 @@ for (i = 0; i < n_opts; i++) {
len = length (opts[i]);
enum = "OPT_" opts[i]
- if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=")
+ if (opts[i] == "finline-limit=" || opts[i] == "Wlarger-than=" \
+ || opts[i] == "ftemplate-depth=")
enum = enum "eq"
gsub ("[^A-Za-z0-9]", "_", enum)
@@ -323,6 +329,7 @@ for (i = 0; i < n_opt_char; i++) {
print " " var_opt_char[i] " = ptr->" var_opt_char[i] ";";
}
+print " targetm.override_options_after_change ();";
print "}";
print "";
« no previous file with comments | « gcc/gcc/optabs.h ('k') | gcc/gcc/opth-gen.awk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698