[PATCH] rs6000: Remove a comma in a debug string

Segher Boessenkool segher@kernel.crashing.org
Wed Apr 17 21:16:00 GMT 2019


It is a bit confusing, it looks as if the compiler tried to print
something there.

Committing.


Segher


2018-04-17  Segher Boessenkool  <segher@kernel.crashing.org>

	* config/rs6000/rs6000.c (rs6000_register_move_cost): Fix typo.

---
 gcc/config/rs6000/rs6000.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 3c9b557..1b94e16 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -34893,7 +34893,7 @@ rs6000_register_move_cost (machine_mode mode,
     {
       if (dbg_cost_ctrl == 1)
 	fprintf (stderr,
-		 "rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\n",
+		 "rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\n",
 		 ret, GET_MODE_NAME (mode), reg_class_names[from],
 		 reg_class_names[to]);
       dbg_cost_ctrl--;
-- 
1.8.3.1



More information about the Gcc-patches mailing list