From 2ad37a09fa0c457c48dfa83079a9e078e03d5770 Mon Sep 17 00:00:00 2001 From: Segher Boessenkool Date: Wed, 17 Apr 2019 23:11:00 +0200 Subject: [PATCH] rs6000: Remove a comma in a debug string It is a bit confusing, it looks as if the compiler tried to print something there. * config/rs6000/rs6000.c (rs6000_register_move_cost): Fix typo. From-SVN: r270426 --- gcc/ChangeLog | 4 ++++ gcc/config/rs6000/rs6000.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4744dd296fd..3b8a84a5163 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-04-17 Segher Boessenkool + + * config/rs6000/rs6000.c (rs6000_register_move_cost): Fix typo. + 2019-04-17 Hongtao Liu PR target/90125 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index ae2249b7d5a..f0de18d4dcd 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -35023,7 +35023,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--; -- 2.30.2