summaryrefslogtreecommitdiff
path: root/gcc/flags.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 23:35:15 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-04-25 23:35:15 +0000
commitb45c5e7f61a8f4f75d6b65694a2f7a0003513bbf (patch)
tree64e64338a1d4d6f1bf4e9f41d6b2be1787684e88 /gcc/flags.h
parentadc27eec39c8ac12dc6a2fe4f8954621ac4c9858 (diff)
downloadgcc-b45c5e7f61a8f4f75d6b65694a2f7a0003513bbf.tar.gz
* flags.h (inline_max_insns): Declare.
* integrate.c (inline_max_insns): New variable. (function_cannot_inline_p): Use it. * toplev.c (main): Add the flag -finline-limit-n. (display_help): Document -finline-limit-n. * invoke.texi: Document -finline-limit-n git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/flags.h')
-rw-r--r--gcc/flags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/flags.h b/gcc/flags.h
index e73c3fdbfc7..2c0ed409ec2 100644
--- a/gcc/flags.h
+++ b/gcc/flags.h
@@ -507,6 +507,10 @@ extern int current_function_is_thunk;
extern int g_switch_value;
extern int g_switch_set;
+/* Value of the -finline-limit flag. */
+
+extern int inline_max_insns;
+
/* Nonzero if we dump in VCG format, not plain text. */
extern int dump_for_graph;