* Re: a small spelling mistake
2019-02-19 17:48 ` a small spelling mistake xinxin
@ 2019-02-19 20:26 ` Jonathan Wakely
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Wakely @ 2019-02-19 20:26 UTC (permalink / raw)
To: xinxin; +Cc: gcc
[-- Attachment #1: Type: text/plain, Size: 332 bytes --]
On Tue, 19 Feb 2019 at 17:49, xinxin <zhaohongxinxin@163.com> wrote:
>
> I found a small spelling mistake in gcc source tree /gcc/config/gcn/gcn.c 5948 line,
>
>
> output_operand_lossage ("invlaid fp constant");
>
>
> “invlaid” sould be "invaild".
Thanks! Fixed by the attached patch, committed to trunk as obvious.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 611 bytes --]
commit 03361e13c38ad815e6600e279eea884e520b356e
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Tue Feb 19 19:12:11 2019 +0000
* config/gcn/gcn.c (print_operand): Fix typo.
diff --git a/gcc/config/gcn/gcn.c b/gcc/config/gcn/gcn.c
index bd8ea55ec03..1dd2ff2d4f0 100644
--- a/gcc/config/gcn/gcn.c
+++ b/gcc/config/gcn/gcn.c
@@ -5946,7 +5946,7 @@ print_operand (FILE *file, rtx x, int code)
if (x)
print_operand (file, ix, code);
else
- output_operand_lossage ("invlaid fp constant");
+ output_operand_lossage ("invalid fp constant");
return;
break;
}
^ permalink raw reply [flat|nested] 2+ messages in thread