[gcc r14-9582] LoongArch: Fix a typo [PR 114407]

Xi Ruoyao xry111@gcc.gnu.org
Wed Mar 20 20:04:00 GMT 2024


https://gcc.gnu.org/g:806621dc14f893476dd6f2a9ae5cf773f3b0951b

commit r14-9582-g806621dc14f893476dd6f2a9ae5cf773f3b0951b
Author: Xi Ruoyao <xry111@xry111.site>
Date:   Thu Mar 21 04:01:17 2024 +0800

    LoongArch: Fix a typo [PR 114407]
    
    gcc/ChangeLog:
    
            PR target/114407
            * config/loongarch/loongarch-opts.cc (loongarch_config_target):
            Fix typo in diagnostic message, enabing -> enabling.

Diff:
---
 gcc/config/loongarch/loongarch-opts.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/loongarch/loongarch-opts.cc b/gcc/config/loongarch/loongarch-opts.cc
index 7eeac43ed2f..627f9148adf 100644
--- a/gcc/config/loongarch/loongarch-opts.cc
+++ b/gcc/config/loongarch/loongarch-opts.cc
@@ -362,7 +362,7 @@ config_target_isa:
 	  gcc_assert (constrained.simd);
 
 	  inform (UNKNOWN_LOCATION,
-		  "enabing %qs promotes %<%s%s%> to %<%s%s%>",
+		  "enabling %qs promotes %<%s%s%> to %<%s%s%>",
 		  loongarch_isa_ext_strings[t.isa.simd],
 		  OPTSTR_ISA_EXT_FPU, loongarch_isa_ext_strings[t.isa.fpu],
 		  OPTSTR_ISA_EXT_FPU, loongarch_isa_ext_strings[ISA_EXT_FPU64]);


More information about the Gcc-cvs mailing list