From: Jakub Jelinek Date: Thu, 28 Jan 2021 09:00:52 +0000 (+0100) Subject: c++: Some C++20 and C++23 option help fixes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c392d040f6cd29465b3b741003f45f2c27d80839;p=gcc.git c++: Some C++20 and C++23 option help fixes I've noticed we still refer to C++20 as draft standard, and there is a pasto in C++23 description. 2021-01-28 Jakub Jelinek * 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. --- diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt index b729be7f40e..b209d46d32b 100644 --- a/gcc/c-family/c.opt +++ b/gcc/c-family/c.opt @@ -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 with GNU extensions. 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)