extend.texi (attribute flatten): Mention interaction with noinline.

gcc/ChangeLog:

	* doc/extend.texi (attribute flatten): Mention interaction with
	noinline.

From-SVN: r265075
This commit is contained in:
Martin Sebor 2018-10-12 03:16:10 +00:00 committed by Martin Sebor
parent 97ae2126ca
commit 02f8305836
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2018-10-11 Martin Sebor <msebor@redhat.com>
* doc/extend.texi (attribute flatten): Mention interaction with
noinline.
2018-10-11 Jan Hubicka <hubicka@ucw.cz>
PR target/87156

View file

@ -2615,8 +2615,9 @@ explicit @code{externally_visible} attributes are still necessary.
@cindex @code{flatten} function attribute
Generally, inlining into a function is limited. For a function marked with
this attribute, every call inside this function is inlined, if possible.
Whether the function itself is considered for inlining depends on its size and
the current inlining parameters.
Functions declared with attribute @code{noinline} and similar are not
inlined. Whether the function itself is considered for inlining depends
on its size and the current inlining parameters.
@item format (@var{archetype}, @var{string-index}, @var{first-to-check})
@cindex @code{format} function attribute