diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2025-03-19 23:27:24 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2025-03-19 23:29:06 +0000 |
commit | b93e60e7901526d7df2d8c0f5e0e46c57e8e3771 (patch) | |
tree | 6cff9d30a6d784d9512b1b9c9ac24487baadb4e9 | |
parent | b8e39b4c33ce74c243e467391f6cc0144d4a9477 (diff) | |
download | gcc-b93e60e7901526d7df2d8c0f5e0e46c57e8e3771.zip gcc-b93e60e7901526d7df2d8c0f5e0e46c57e8e3771.tar.gz gcc-b93e60e7901526d7df2d8c0f5e0e46c57e8e3771.tar.bz2 |
libstdc++: Correct statement about default -std option
The default is -std=gnu++17 now, not -std=gnu++14.
libstdc++-v3/ChangeLog:
* doc/xml/manual/test.xml: Fix default for -std option.
* doc/html/manual/test.html: Regenerate.
-rw-r--r-- | libstdc++-v3/doc/html/manual/test.html | 4 | ||||
-rw-r--r-- | libstdc++-v3/doc/xml/manual/test.xml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/doc/html/manual/test.html b/libstdc++-v3/doc/html/manual/test.html index 4b295e5..947cd94 100644 --- a/libstdc++-v3/doc/html/manual/test.html +++ b/libstdc++-v3/doc/html/manual/test.html @@ -343,11 +343,11 @@ cat 27_io/objects/char/3_xin.in | a.out</pre></dd><dt><span class="term"><code c tests multiple times in different variations. For example, to run the entire testsuite three times using <code class="option">-O3</code> but with different <code class="option">-std</code> options: -</p><pre class="programlisting"> make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++14}\"'</pre><p> +</p><pre class="programlisting"> make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++17}\"'</pre><p> N.B. that set of variations could also be written as <code class="literal">unix/-O3\"{-std=gnu++98,-std=gnu++11,}\"</code> so that the third variation would use the default for <code class="option">-std</code> - (which is <code class="option">-std=gnu++14</code> as of GCC 6). + (which is <code class="option">-std=gnu++17</code> as of GCC 11). </p><p> Since GCC 14, the libstdc++ testsuite has built-in support for running tests with more than one <code class="option">-std</code>, similar to the G++ tests. diff --git a/libstdc++-v3/doc/xml/manual/test.xml b/libstdc++-v3/doc/xml/manual/test.xml index 963e3e1..c4f5011 100644 --- a/libstdc++-v3/doc/xml/manual/test.xml +++ b/libstdc++-v3/doc/xml/manual/test.xml @@ -589,11 +589,11 @@ cat 27_io/objects/char/3_xin.in | a.out</programlisting> tests multiple times in different variations. For example, to run the entire testsuite three times using <option>-O3</option> but with different <option>-std</option> options: -<programlisting> make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++14}\"'</programlisting> +<programlisting> make check 'RUNTESTFLAGS=--target_board=unix/-O3\"{-std=gnu++98,-std=gnu++11,-std=gnu++17}\"'</programlisting> N.B. that set of variations could also be written as <literal>unix/-O3\"{-std=gnu++98,-std=gnu++11,}\"</literal> so that the third variation would use the default for <option>-std</option> - (which is <option>-std=gnu++14</option> as of GCC 6). + (which is <option>-std=gnu++17</option> as of GCC 11). </para> <para> |