aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@rivosinc.com>2022-11-28 13:36:00 -0800
committerPalmer Dabbelt <palmer@rivosinc.com>2022-12-16 08:46:54 -0800
commit9bb7864877ab05bf951fad66c934845351b271ce (patch)
tree386ffc35fdf944d5489975dff822b9e9dc621011
parentdf049cb2153839fdf6c6bdc27acf5a5151f74a99 (diff)
downloadgcc-9bb7864877ab05bf951fad66c934845351b271ce.zip
gcc-9bb7864877ab05bf951fad66c934845351b271ce.tar.gz
gcc-9bb7864877ab05bf951fad66c934845351b271ce.tar.bz2
RISC-V: Fix up some wording in the mcpu/mtune comment
gcc/ChangeLog: * config/riscv/riscv.cc (riscv_option_override): Fix comment wording.
-rw-r--r--gcc/config/riscv/riscv.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc
index 1f85391..6dd2ab2 100644
--- a/gcc/config/riscv/riscv.cc
+++ b/gcc/config/riscv/riscv.cc
@@ -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));