a small spelling mistake

Jonathan Wakely jwakely.gcc@gmail.com
Tue Feb 19 20:26:00 GMT 2019


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.
-------------- next part --------------
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;
 	    }


More information about the Gcc mailing list