aboutsummaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2009-10-03 21:10:11 +0000
committerDiego Novillo <dnovillo@google.com>2009-10-03 21:10:11 +0000
commit93fcd3075033a94fc3e0db811c9aa26a52dd5895 (patch)
tree3a9882bd235e5026410e5397a5e46a97ece50b48 /gcc/flags.h
parenta3155ed62fc4ef247ff1b43fca26e5e8222611cc (diff)
Merge lto branch into trunk.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@152434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index 8b71302f3e4..bd8b82d4372 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -111,6 +111,17 @@ extern int optimize;
extern int optimize_size;
+/* True if this is the LTO front end (lto1). This is used to disable
+ gimple generation and lowering passes that are normally run on the
+ output of a front end. These passes must be bypassed for lto since
+ they have already been done before the gimple was written. */
+
+extern bool in_lto_p;
+
+/* Nonzero if we should write GIMPLE bytecode for link-time optimization. */
+
+extern int flag_generate_lto;
+
/* Used to set the level of -Wstrict-aliasing, when no level is specified.
The external way to set the default level is to use
-Wstrict-aliasing=level.