diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-11-10 21:59:00 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-11-10 21:59:00 +0000 |
commit | aac6854937e38b9734940ab4770b6bfd1f4fb3c2 (patch) | |
tree | c8bd82ac8a7c0143a1a95429b2a70d89932a60f8 /gnu | |
parent | 51efcebeef3f9d42e6610abbed896bfbea0afde6 (diff) |
Make flag_gcse non-static.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/gcc/gcc/flags.h | 4 | ||||
-rw-r--r-- | gnu/usr.bin/gcc/gcc/toplev.c | 2 |
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. */ |