From 02f8305836b792c8ce66fe811e5e9964f674a5ef Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Fri, 12 Oct 2018 03:16:10 +0000 Subject: [PATCH] extend.texi (attribute flatten): Mention interaction with noinline. gcc/ChangeLog: * doc/extend.texi (attribute flatten): Mention interaction with noinline. From-SVN: r265075 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f8d7217c363..5aded93b4e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-11 Martin Sebor + + * doc/extend.texi (attribute flatten): Mention interaction with + noinline. + 2018-10-11 Jan Hubicka PR target/87156 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 47a987fef6a..87021cd8e6e 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 -- 2.30.2