]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arc: Fix compilation warnings.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 10 May 2021 06:03:41 +0000 (09:03 +0300)
committerClaudiu Zissulescu <claziss@synopsys.com>
Mon, 10 May 2021 06:33:18 +0000 (09:33 +0300)
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>
gcc/common/config/arc/arc-common.c
gcc/config/arc/arc.c

index d5229ae714605a8fe1eccb00542f26e4bad28b4a..86674dd3de7bfc78da3df163183d171ee8a1fd0e 100644 (file)
@@ -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;
 
index 3201c3fefd73a9bed8ac1e2102173e91205e9b8f..ec7328edb5a95bae888be05dad8093811069307c 100644 (file)
@@ -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))
        {