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

commit r17-1130-gfb063f7d6bf4fa30b3eba18f70418b4c11b02a8f
Author: Dhruv Chawla <[email protected]>
Date:   Thu May 21 11:46:13 2026 +0000

    vms: Fix typos in various files
    
    Signed-off-by: Dhruv Chawla <[email protected]>
    
    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:
---
 gcc/config/vms/vms-c.cc | 6 +++---
 gcc/config/vms/vms.cc   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gcc/config/vms/vms-c.cc b/gcc/config/vms/vms-c.cc
index 7c0fe2445cdc..1facc6fac71e 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 3a6c5e22605d..cdda4c7b20fe 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"

Reply via email to