Hi!

I've noticed we still refer to C++20 as draft standard, and there is a pasto
in C++23 description.

Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux,
committed to trunk as obvious.

2021-01-28  Jakub Jelinek  <ja...@redhat.com>

        * c.opt (-std=c++2a, -std=c++20, -std=gnu++2a, -std=gnu++20): Remove
        draft from description.
        (-std=c++2b): Fix a pasto, 2020 -> 2023.

--- gcc/c-family/c.opt.jj       2021-01-27 10:05:35.231942979 +0100
+++ gcc/c-family/c.opt  2021-01-27 21:29:45.398365022 +0100
@@ -2208,15 +2208,15 @@ Conform to the ISO 2017 C++ standard.
 
 std=c++2a
 C++ ObjC++ Alias(std=c++20) Undocumented
-Conform to the ISO 2020 C++ draft standard (experimental and incomplete 
support).
+Conform to the ISO 2020 C++ standard (experimental and incomplete support).
 
 std=c++20
 C++ ObjC++
-Conform to the ISO 2020 C++ draft standard (experimental and incomplete 
support).
+Conform to the ISO 2020 C++ standard (experimental and incomplete support).
 
 std=c++2b
 C++ ObjC++ Alias(std=c++23)
-Conform to the ISO 2020 C++ draft standard (experimental and incomplete 
support).
+Conform to the ISO 2023 C++ draft standard (experimental and incomplete 
support).
 
 std=c++23
 C++ ObjC++ Undocumented
@@ -2294,11 +2294,11 @@ Conform to the ISO 2017 C++ standard wit
 
 std=gnu++2a
 C++ ObjC++ Alias(std=gnu++20) Undocumented
-Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental 
and incomplete support).
+Conform to the ISO 2020 C++ standard with GNU extensions (experimental and 
incomplete support).
 
 std=gnu++20
 C++ ObjC++
-Conform to the ISO 2020 C++ draft standard with GNU extensions (experimental 
and incomplete support).
+Conform to the ISO 2020 C++ standard with GNU extensions (experimental and 
incomplete support).
 
 std=gnu++2b
 C++ ObjC++ Alias(std=gnu++23)


        Jakub

Reply via email to