https://gcc.gnu.org/g:a9c5f33f3a88fb9f6324beced1ccf30a6740f094

commit r16-6315-ga9c5f33f3a88fb9f6324beced1ccf30a6740f094
Author: Yuao Ma <[email protected]>
Date:   Sun Dec 21 14:11:47 2025 +0800

    c++: adjust comment to align with new default c++20
    
    After r16-5628-g004438857554f4, the default C++ standard is now c++20. 
Update
    the comment here accordingly.
    
    gcc/c-family/ChangeLog:
    
            * c-common.h (enum cxx_dialect): c++17 to c++20.

Diff:
---
 gcc/c-family/c-common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h
index 6a92bd6ef762..4b63f5d13095 100644
--- a/gcc/c-family/c-common.h
+++ b/gcc/c-family/c-common.h
@@ -748,7 +748,7 @@ enum cxx_dialect {
   cxx26
 };
 
-/* The C++ dialect being used.  C++17 is the default.  */
+/* The C++ dialect being used.  C++20 is the default.  */
 extern enum cxx_dialect cxx_dialect;
 
 /* Maximum template instantiation depth.  This limit is rather

Reply via email to