extend.texi (attribute flatten): Mention interaction with noinline.
authorMartin Sebor <msebor@redhat.com>
Fri, 12 Oct 2018 03:16:10 +0000 (03:16 +0000)
committerMartin Sebor <msebor@gcc.gnu.org>
Fri, 12 Oct 2018 03:16:10 +0000 (21:16 -0600)
gcc/ChangeLog:

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

From-SVN: r265075

gcc/ChangeLog
gcc/doc/extend.texi

index f8d7217..5aded93 100644 (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
index 47a987f..87021cd 100644 (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