summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@gcc.gnu.org>2009-10-03 17:10:11 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2009-10-03 17:10:11 -0400
commitd7f09764d7bc66b9997c811c22e11efc87b44792 (patch)
tree3a9882bd235e5026410e5397a5e46a97ece50b48 /gcc/flags.h
parentb06e51a0c9852e7fb7c6f589b46f6906ce48febd (diff)
Merge lto branch into trunk.
From-SVN: r152434
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.