diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:03:41 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@synopsys.com> | 2021-05-10 09:33:18 +0300 |
commit | 89c94716241e2ba9cb42f512103528d0df6b0f3f (patch) | |
tree | ca37705f86608cc16b09eb59f21b0d8fd0b00260 | |
parent | b70c7c06aaa2ef55a29e6516a710e57f7218ab53 (diff) | |
download | gcc-89c94716241e2ba9cb42f512103528d0df6b0f3f.zip gcc-89c94716241e2ba9cb42f512103528d0df6b0f3f.tar.gz gcc-89c94716241e2ba9cb42f512103528d0df6b0f3f.tar.bz2 |
arc: Fix compilation warnings.
gcc/
2021-05-10 Claudiu Zissulescu <claziss@synopsys.com>
* common/config/arc/arc-common.c (arc_handle_option): Remove dot
from string.
* config/arc/arc.c (arc_reorg): Remove underscore from string.
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
-rw-r--r-- | gcc/common/config/arc/arc-common.c | 2 | ||||
-rw-r--r-- | gcc/config/arc/arc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/common/config/arc/arc-common.c b/gcc/common/config/arc/arc-common.c index d5229ae..86674dd 100644 --- a/gcc/common/config/arc/arc-common.c +++ b/gcc/common/config/arc/arc-common.c @@ -84,7 +84,7 @@ arc_handle_option (struct gcc_options *opts, our caller, so comparing arc_cpu with PROCESSOR_NONE is pointless. */ if (mcpu_seen != PROCESSOR_NONE && mcpu_seen != value) - warning_at (loc, 0, "multiple %<-mcpu=%> options specified."); + warning_at (loc, 0, "multiple %<-mcpu=%> options specified"); mcpu_seen = value; break; diff --git a/gcc/config/arc/arc.c b/gcc/config/arc/arc.c index 3201c3f..ec7328e 100644 --- a/gcc/config/arc/arc.c +++ b/gcc/config/arc/arc.c @@ -8433,7 +8433,7 @@ arc_reorg (void) if (!INSN_ADDRESSES_SET_P()) fatal_error (input_location, - "insn addresses not set after shorten_branches"); + "insn addresses not set after shorten branches"); for (insn = get_insns (); insn; insn = NEXT_INSN (insn)) { |