summaryrefslogtreecommitdiff
path: root/gcc/optc-gen.awk
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-09 14:59:55 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-09 14:59:55 +0000
commiteba2aae511fc844543f6d2845fac82544617f76d (patch)
tree4cb47b83e2b0f42ab42d54d9b0a4fb49b2a68d93 /gcc/optc-gen.awk
parent8e14cc65d0226cf4a44421a8183cd0bccd651897 (diff)
downloadgcc-eba2aae511fc844543f6d2845fac82544617f76d.tar.gz
2010-10-09 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 165222 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@165232 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/optc-gen.awk')
-rw-r--r--gcc/optc-gen.awk3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/optc-gen.awk b/gcc/optc-gen.awk
index 643ad159a99..ba2238aeebf 100644
--- a/gcc/optc-gen.awk
+++ b/gcc/optc-gen.awk
@@ -83,7 +83,7 @@ print "#endif /* GCC_DRIVER */"
print ""
have_save = 0;
-print "struct gcc_options global_options =\n{"
+print "const struct gcc_options global_options_init =\n{"
for (i = 0; i < n_extra_vars; i++) {
var = extra_vars[i]
init = extra_vars[i]
@@ -138,6 +138,7 @@ for (i = 0; i < n_opts; i++) {
}
print "};"
print ""
+print "struct gcc_options global_options;"
print "struct gcc_options global_options_set;"
print ""