summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-01 09:20:32 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-02-01 09:20:32 +0000
commitb75cad1f01aff79f08d82d2da6e34a44fb2a1338 (patch)
tree569a7239350db03c992e307a8a1cd77ccbc08694 /gcc/common.opt
parentb589b3b48226d43a2d5361199ca3d704ccbc8a05 (diff)
downloadgcc-b75cad1f01aff79f08d82d2da6e34a44fb2a1338.tar.gz
2012-02-01 Richard Guenther <rguenther@suse.de>
* doc/invoke.texi (fno-inline): Clarify documentation. (finline-small-functions): Likewise. (finline-functions): Likewise. * common.opt (finline): Adjust comment and documentation. (finline-small-functions): Clarify documentation. (finline-functions): Likewise. (finline-functions-called-once): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt15
1 files changed, 6 insertions, 9 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index ec1dbd1b254..984825dab4d 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1245,26 +1245,23 @@ findirect-inlining
Common Report Var(flag_indirect_inlining)
Perform indirect inlining
-; Nonzero means that functions declared `inline' will be treated
-; as `static'. Prevents generation of zillions of copies of unused
-; static inline functions; instead, `inlines' are written out
-; only when actually used. Used in conjunction with -g. Also
-; does the right thing with #pragma interface.
+; General flag to enable inlining. Specifying -fno-inline will disable
+; all inlining apart from always-inline functions.
finline
Common Report Var(flag_no_inline,0) Init(0)
-Pay attention to the \"inline\" keyword
+Enable inlining of function declared \"inline\", disabling disables all inlining
finline-small-functions
Common Report Var(flag_inline_small_functions) Optimization
-Integrate simple functions into their callers when code size is known to not growth
+Integrate functions into their callers when code size is known not to grow
finline-functions
Common Report Var(flag_inline_functions) Optimization
-Integrate simple functions into their callers
+Integrate functions not declared \"inline\" into their callers when profitable
finline-functions-called-once
Common Report Var(flag_inline_functions_called_once) Optimization
-Integrate functions called once into their callers
+Integrate functions only required by their single caller
finline-limit-
Common RejectNegative Joined Alias(finline-limit=)