From 0ef88b2031564faf39396793f272aa0bc394d411 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 12 Apr 2019 10:10:51 +0200 Subject: [PATCH] re PR target/52726 (Composed error message will not get translated) PR target/52726 * config/tilepro/tilepro.c (tilepro_print_operand): Use just "invalid %%t operand" in output_operand_lossage message. From-SVN: r270308 --- gcc/ChangeLog | 6 ++++++ gcc/config/tilepro/tilepro.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fd3e7c631b4..dbda8ac5fab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-04-12 Jakub Jelinek + + PR target/52726 + * config/tilepro/tilepro.c (tilepro_print_operand): Use just + "invalid %%t operand" in output_operand_lossage message. + 2019-04-12 Andreas Krebbel * config/s390/predicates.md (permute_pattern_operand): New diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c index 0cbea458d08..c8d69d32f2f 100644 --- a/gcc/config/tilepro/tilepro.c +++ b/gcc/config/tilepro/tilepro.c @@ -4771,7 +4771,7 @@ tilepro_print_operand (FILE *file, rtx x, int code) i = exact_log2 (n); if (i < 0) { - output_operand_lossage ("invalid %%t operand %<%wd%>", n); + output_operand_lossage ("invalid %%t operand"); return; } -- 2.30.2