diff options
author | Martin Sebor <msebor@redhat.com> | 2018-10-12 03:16:10 +0000 |
---|---|---|
committer | Martin Sebor <msebor@gcc.gnu.org> | 2018-10-11 21:16:10 -0600 |
commit | 02f8305836b792c8ce66fe811e5e9964f674a5ef (patch) | |
tree | 2f6dc445d02338a270e52fd1df6fdfa719f319b4 /gcc/doc | |
parent | 97ae2126cac5a3aa2fbfa86954c08b463e1e3c6c (diff) | |
download | gcc-02f8305836b792c8ce66fe811e5e9964f674a5ef.zip gcc-02f8305836b792c8ce66fe811e5e9964f674a5ef.tar.gz gcc-02f8305836b792c8ce66fe811e5e9964f674a5ef.tar.bz2 |
extend.texi (attribute flatten): Mention interaction with noinline.
gcc/ChangeLog:
* doc/extend.texi (attribute flatten): Mention interaction with
noinline.
From-SVN: r265075
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 47a987f..87021cd 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -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 |