public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5346] doc: document -fimplicit-constexpr
@ 2021-11-17 17:45 Jason Merrill
0 siblings, 0 replies; only message in thread
From: Jason Merrill @ 2021-11-17 17:45 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:d3a9082d7acc3ef443de6f14a16e7063d92844b1
commit r12-5346-gd3a9082d7acc3ef443de6f14a16e7063d92844b1
Author: Jason Merrill <jason@redhat.com>
Date: Wed Nov 17 05:45:02 2021 -0500
doc: document -fimplicit-constexpr
I forgot this in the implementation patch.
gcc/ChangeLog:
* doc/invoke.texi (C++ Dialect Options): Document
-fimplicit-constexpr.
Diff:
---
gcc/doc/invoke.texi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index a22758d18ee..bd6b9f6010c 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3106,6 +3106,13 @@ word as an identifier. You can use the keyword @code{__typeof__} instead.
This option is implied by the strict ISO C++ dialects: @option{-ansi},
@option{-std=c++98}, @option{-std=c++11}, etc.
+@item -fimplicit-constexpr
+@opindex fimplicit-constexpr
+Make inline functions implicitly constexpr, if they satisfy the
+requirements for a constexpr function. This option can be used in
+C++14 mode or later. This can result in initialization changing from
+dynamic to static and other optimizations.
+
@item -fno-implicit-templates
@opindex fno-implicit-templates
@opindex fimplicit-templates
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-17 17:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-17 17:45 [gcc r12-5346] doc: document -fimplicit-constexpr Jason Merrill
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).