Commit 3defdb14 by Richard Biener Committed by Richard Biener

re PR web/61782 (always_inline incorrectly documented)

2014-07-16  Richard Biener  <rguenther@suse.de>

	PR other/61782
	* doc/extend.texi (always_inline): Clarify.

From-SVN: r212581
parent 408210e9
2014-07-16 Richard Biener <rguenther@suse.de>
PR other/61782
* doc/extend.texi (always_inline): Clarify.
2014-07-15 Eric Christopher <echristo@gmail.com> 2014-07-15 Eric Christopher <echristo@gmail.com>
* doc/invoke.texi (Link Options): Document -z option. * doc/invoke.texi (Link Options): Document -z option.
......
...@@ -2307,8 +2307,12 @@ to 8. ...@@ -2307,8 +2307,12 @@ to 8.
@item always_inline @item always_inline
@cindex @code{always_inline} function attribute @cindex @code{always_inline} function attribute
Generally, functions are not inlined unless optimization is specified. Generally, functions are not inlined unless optimization is specified.
For functions declared inline, this attribute inlines the function even For functions declared inline, this attribute inlines the function
if no optimization level is specified. independent of any restrictions that otherwise apply to inlining.
Failure to inline such a function is diagnosed as an error.
Note that if such a function is called indirectly the compiler may
or may not inline it depending on optimization level and a failure
to inline an indirect call may or may not be diagnosed.
@item gnu_inline @item gnu_inline
@cindex @code{gnu_inline} function attribute @cindex @code{gnu_inline} function attribute
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment