]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c++: clarify the comment regarding where the default dialect is set
authorYuao Ma <c8ef@outlook.com>
Tue, 23 Dec 2025 14:54:34 +0000 (22:54 +0800)
committerYuao Ma <c8ef@outlook.com>
Tue, 23 Dec 2025 14:54:34 +0000 (22:54 +0800)
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.

gcc/c-family/c-common.cc

index 1200a025cc97027e38177a19e4457a013364afc8..e1841df5ef725238615dc5dc4eab2f842d635cee 100644 (file)
@@ -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;