From 89c94716241e2ba9cb42f512103528d0df6b0f3f Mon Sep 17 00:00:00 2001 From: Claudiu Zissulescu Date: Mon, 10 May 2021 09:03:41 +0300 Subject: [PATCH] arc: Fix compilation warnings. gcc/ 2021-05-10 Claudiu Zissulescu * 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 --- gcc/common/config/arc/arc-common.c | 2 +- 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)) { -- 2.7.4