[committed] i386: Fix grammar typo in diagnostic

Jonathan Wakely jwakely@redhat.com
Mon Aug 7 21:12:35 GMT 2023


Committed as obvious.

Less obvious (to me) is whether it's correct to say "GCC V13" here. I
don't think we refer to a version that way anywhere else, do we?

Would "since GCC 13.1.0" be better?

-- >8 --

gcc/ChangeLog:

	* config/i386/i386.cc (ix86_invalid_conversion): Fix grammar.
---
 gcc/config/i386/i386.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/i386/i386.cc b/gcc/config/i386/i386.cc
index 50860050049..5d57726e22c 100644
--- a/gcc/config/i386/i386.cc
+++ b/gcc/config/i386/i386.cc
@@ -22890,7 +22890,7 @@ ix86_invalid_conversion (const_tree fromtype, const_tree totype)
 	warning (0, "%<__bfloat16%> is redefined from typedef %<short%> "
 		"to real %<__bf16%> since GCC V13, be careful of "
 		 "implicit conversion between %<__bf16%> and %<short%>; "
-		 "a explicit bitcast may be needed here");
+		 "an explicit bitcast may be needed here");
     }
 
   /* Conversion allowed.  */
-- 
2.41.0



More information about the Libstdc++ mailing list