public inbox for
help / color / mirror / Atom feed
From: Patrick Palka <>
Subject: gcc-wwwdocs branch master updated. c637096c2a3d4cf33ffd610255ecd451450895fd
Date: Thu,  7 Apr 2022 16:09:09 +0000 (GMT)	[thread overview]
Message-ID: <> (raw)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  c637096c2a3d4cf33ffd610255ecd451450895fd (commit)
      from  f1f7f774224a1580c9aad4b0f496626afc531adc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c637096c2a3d4cf33ffd610255ecd451450895fd
Author: Patrick Palka <>
Date:   Thu Apr 7 12:07:20 2022 -0400

    gcc-12: Document new C++ flag -ffold-simple-inlines

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 4cfe2bf5..d32ac0b7 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -290,6 +290,16 @@ a work-in-progress.</p>
   <li>New command-line option <code>-fimplicit-constexpr</code> can be used to
       make inline functions implicitly constexpr
       (<a href=";a=commitdiff;h=87c2080b">git</a>)</li>
+  <li>New command-line option <code>-ffold-simple-inlines</code> that controls
+      whether to fold calls to certain trivial inline functions (currently
+      <code>std::move</code>, <code>std::forward</code>,
+      <code>std::addressof</code> and <code>std::as_const</code>).  In contrast
+      to inlining such calls, folding means that no intermediate code or debug
+      information will be generated for them; this minimizes the abstraction
+      penalty incurred for using these functions versus using the fundamental
+      operations from which they're defined (e.g. <code>std::move</code> versus
+      <code>static_cast</code>).  This flag is enabled by default when
+      <code>-fno-inline</code> is not active.</li>
   <li>Deduction guides can be declared at class scope
       (<a href="">PR79501</a>)</li>
   <li><a href=""><code>-Wuninitialized</code></a>


Summary of changes:
 htdocs/gcc-12/changes.html | 10 ++++++++++
 1 file changed, 10 insertions(+)


                 reply	other threads:[~2022-04-07 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).