From: Dhruv Chawla Date: Thu, 21 May 2026 11:46:13 +0000 (+0000) Subject: vms: Fix typos in various files X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb063f7d6bf4fa30b3eba18f70418b4c11b02a8f;p=thirdparty%2Fgcc.git vms: Fix typos in various files Signed-off-by: Dhruv Chawla gcc/ChangeLog: * config/vms/vms-c.cc (enum extern_model_kind): Fix typos. (vms_pragma_message): Likewise. (vms_c_register_includes): Likewise. * config/vms/vms.cc (vms_function_section): Likewise. --- diff --git a/gcc/config/vms/vms-c.cc b/gcc/config/vms/vms-c.cc index 7c0fe2445cd..1facc6fac71 100644 --- a/gcc/config/vms/vms-c.cc +++ b/gcc/config/vms/vms-c.cc @@ -170,7 +170,7 @@ enum extern_model_kind Only one initialized definition (case 3) is allows, but multiple uninitialize definition (case 2) are allowed. For case 2, this creates both a section named NAME and a global symbol. - For case 3, this creates a conditional global symbol defenition and a + For case 3, this creates a conditional global symbol definition and a conditional section definition. This is the traditional UNIX C behavior. */ extern_model_relaxed_refdef, @@ -243,7 +243,7 @@ vms_pragma_extern_model (cpp_reader *pfile ATTRIBUTE_UNUSED) static void vms_pragma_message (cpp_reader *pfile ATTRIBUTE_UNUSED) { - /* Completly ignored. */ + /* Completely ignored. */ #if 0 pedwarn (input_location, OPT_Wpragmas, "vms '#pragma __message' is ignored"); @@ -417,7 +417,7 @@ vms_c_register_includes (const char *sysroot, static const char dir_separator_str[] = { DIR_SEPARATOR, 0 }; struct cpp_dir *dir; - /* Add on standard include pathes. */ + /* Add on standard include paths. */ if (!stdinc) return; diff --git a/gcc/config/vms/vms.cc b/gcc/config/vms/vms.cc index 3a6c5e22605..cdda4c7b20f 100644 --- a/gcc/config/vms/vms.cc +++ b/gcc/config/vms/vms.cc @@ -97,7 +97,7 @@ static const struct vms_crtl_name vms_crtl_names[] = #include "vms-crtlmap.h" }; -/* Number of entires in the above array. */ +/* Number of entries in the above array. */ #define NBR_CRTL_NAMES (ARRAY_SIZE (vms_crtl_names)) @@ -290,7 +290,7 @@ vms_function_section (tree decl ATTRIBUTE_UNUSED, return NULL; } -/* Additionnal VMS specific code for start_function. */ +/* Additional VMS specific code for start_function. */ /* Must be kept in sync with libgcc/config/vms/vms-ucrt0.c */ #define VMS_MAIN_FLAGS_SYMBOL "__gcc_main_flags"