https://gcc.gnu.org/g:1b40dbaf71beea1aca29e7ac85a29d0f0cbc3a92

commit r16-6367-g1b40dbaf71beea1aca29e7ac85a29d0f0cbc3a92
Author: Yuao Ma <[email protected]>
Date:   Tue Dec 23 22:54:34 2025 +0800

    c++: clarify the comment regarding where the default dialect is set
    
    Since r6-7026-g268be88cbeaba7, the default dialect has been set in
    c_common_init_options rather than c_common_post_options. This patch updates 
the
    corresponding comment to reflect that change.
    
    gcc/c-family/ChangeLog:
    
            * c-common.cc: Mention c_common_init_options.

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

diff --git a/gcc/c-family/c-common.cc b/gcc/c-family/c-common.cc
index 1200a025cc97..e1841df5ef72 100644
--- a/gcc/c-family/c-common.cc
+++ b/gcc/c-family/c-common.cc
@@ -262,7 +262,7 @@ const char *constant_string_class_name;
 
 int warn_abi_version = -1;
 
-/* The C++ dialect being used.  Default set in c_common_post_options.  */
+/* The C++ dialect being used.  Default set in c_common_init_options.  */
 
 enum cxx_dialect cxx_dialect = cxx_unset;

Reply via email to