From 024bdd2262c60f35cde8c860040d6d0cbb5c7b6e Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Mon, 7 Mar 2022 10:33:57 +0100
Subject: [PATCH] rx: Fix translation string.

	PR target/99297

gcc/ChangeLog:

	* config/rx/rx.cc (rx_expand_builtin_mvtc): Fix translation
	string.
---
 gcc/config/rx/rx.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rx/rx.cc b/gcc/config/rx/rx.cc
index 7c3975e63dd1..412a3a354b09 100644
--- a/gcc/config/rx/rx.cc
+++ b/gcc/config/rx/rx.cc
@@ -2477,7 +2477,7 @@ rx_expand_builtin_mvtc (tree exp)
 
   if (INTVAL (arg1) == 1)
     {
-      warning (0, "invalid control register for mvtc: %d - using 'psw'",
+      warning (0, "invalid control register %d for mvtc; using %<psw%>",
 	       (int) INTVAL (arg1));
       arg1 = const0_rtx;
     }
-- 
GitLab