From: Yuao Ma Date: Tue, 23 Dec 2025 14:54:34 +0000 (+0800) Subject: c++: clarify the comment regarding where the default dialect is set X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b40dbaf71beea1aca29e7ac85a29d0f0cbc3a92;p=thirdparty%2Fgcc.git 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 --git a/gcc/c-family/c-common.cc b/gcc/c-family/c-common.cc index 1200a025cc9..e1841df5ef7 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;