]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc/ChangeLog:
authormsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2018 03:16:10 +0000 (03:16 +0000)
committermsebor <msebor@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 Oct 2018 03:16:10 +0000 (03:16 +0000)
* doc/extend.texi (attribute flatten): Mention interaction with
noinline.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265075 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/extend.texi

index f8d7217c363f02c2a23818564c5622f538717855..5aded93b4e2ace4175c65d871814450f9e4510f7 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 47a987fef6a88e272300876e9b559280c1ef53ec..87021cd8e6e3e903b3fe864ce658a11d16138d79 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