summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-11-10 21:59:00 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-11-10 21:59:00 +0000
commitaac6854937e38b9734940ab4770b6bfd1f4fb3c2 (patch)
treec8bd82ac8a7c0143a1a95429b2a70d89932a60f8 /gnu
parent51efcebeef3f9d42e6610abbed896bfbea0afde6 (diff)
Make flag_gcse non-static.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/gcc/flags.h4
-rw-r--r--gnu/usr.bin/gcc/gcc/toplev.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/gcc/flags.h b/gnu/usr.bin/gcc/gcc/flags.h
index 5cb5afd9422..27f6cf920cf 100644
--- a/gnu/usr.bin/gcc/gcc/flags.h
+++ b/gnu/usr.bin/gcc/gcc/flags.h
@@ -654,6 +654,10 @@ extern enum graph_dump_types graph_dump_format;
extern int flag_no_ident;
+/* Nonzero if we want to perform global cse. */
+
+extern int flag_gcse;
+
/* Nonzero if we want to perform enhanced load motion during gcse. */
extern int flag_gcse_lm;
diff --git a/gnu/usr.bin/gcc/gcc/toplev.c b/gnu/usr.bin/gcc/gcc/toplev.c
index 6e80bcc54ae..9fdd5e28d80 100644
--- a/gnu/usr.bin/gcc/gcc/toplev.c
+++ b/gnu/usr.bin/gcc/gcc/toplev.c
@@ -620,7 +620,7 @@ int flag_syntax_only = 0;
/* Nonzero means perform global cse. */
-static int flag_gcse;
+int flag_gcse = 0;
/* Nonzero means perform loop optimizer. */