public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* a small spelling mistake
       [not found] <1550598055.50218.ezmlm@gcc.gnu.org>
@ 2019-02-19 17:48 ` xinxin
  2019-02-19 20:26   ` Jonathan Wakely
  0 siblings, 1 reply; 2+ messages in thread
From: xinxin @ 2019-02-19 17:48 UTC (permalink / raw)
  To: gcc

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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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

end of thread, other threads:[~2019-02-19 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1550598055.50218.ezmlm@gcc.gnu.org>
2019-02-19 17:48 ` a small spelling mistake xinxin
2019-02-19 20:26   ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).