RISC-V: Fix up some wording in the mcpu/mtune comment
authorPalmer Dabbelt <palmer@rivosinc.com>
Mon, 28 Nov 2022 21:36:00 +0000 (13:36 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Fri, 16 Dec 2022 16:46:54 +0000 (08:46 -0800)
gcc/ChangeLog:

* config/riscv/riscv.cc (riscv_option_override): Fix comment
wording.

gcc/config/riscv/riscv.cc

index 1f85391..6dd2ab2 100644 (file)
@@ -5991,7 +5991,7 @@ riscv_option_override (void)
     target_flags |= MASK_FDIV;
 
   /* Handle -mtune, use -mcpu if -mtune is not given, and use default -mtune
-     if -mtune and -mcpu both not given.  */
+     if both -mtune and -mcpu are not given.  */
   cpu = riscv_parse_tune (riscv_tune_string ? riscv_tune_string :
                          (riscv_cpu_string ? riscv_cpu_string :
                           RISCV_TUNE_STRING_DEFAULT));