diff options
author | Jason Merrill <jason@redhat.com> | 2021-11-17 05:45:02 -0500 |
---|---|---|
committer | Jason Merrill <jason@redhat.com> | 2021-11-17 12:45:29 -0500 |
commit | d3a9082d7acc3ef443de6f14a16e7063d92844b1 (patch) | |
tree | 424af098455e4cb9a77c1143342a1e623f4a46d3 | |
parent | 5ea8803e65eb546f58d3dccf5aff94a1638ba8b2 (diff) | |
download | gcc-d3a9082d7acc3ef443de6f14a16e7063d92844b1.zip gcc-d3a9082d7acc3ef443de6f14a16e7063d92844b1.tar.gz gcc-d3a9082d7acc3ef443de6f14a16e7063d92844b1.tar.bz2 |
doc: document -fimplicit-constexpr
I forgot this in the implementation patch.
gcc/ChangeLog:
* doc/invoke.texi (C++ Dialect Options): Document
-fimplicit-constexpr.
-rw-r--r-- | gcc/doc/invoke.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index a22758d..bd6b9f6 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 |