aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2021-01-28 10:00:52 +0100
committerJakub Jelinek <jakub@redhat.com>2021-01-28 10:00:52 +0100
commitc392d040f6cd29465b3b741003f45f2c27d80839 (patch)
treee1e50529b97d4debee40af8d343eb8b26c96dbbe
parenta523add327c6cfdd68cf9b788ea808068d0f508c (diff)
downloadgcc-c392d040f6cd29465b3b741003f45f2c27d80839.zip
gcc-c392d040f6cd29465b3b741003f45f2c27d80839.tar.gz
gcc-c392d040f6cd29465b3b741003f45f2c27d80839.tar.bz2
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 <jakub@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.
-rw-r--r--gcc/c-family/c.opt10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt
index b729be7f..b209d46 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)