From 20ff0c0bed6d906fc664d08a4a3602d3473ed8ac Mon Sep 17 00:00:00 2001 From: liuhongt <hongtao.liu@intel.com> Date: Wed, 23 Aug 2023 07:31:13 +0800 Subject: [PATCH] Adjust GCC V13 to GCC 13.1 in diagnotic. gcc/ChangeLog: * config/i386/i386.cc (ix86_invalid_conversion): Adjust GCC V13 to GCC 13.1. (cherry picked from commit 0a888650303750fd72878fc083dfb30b62e30809) --- 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 f8c15ae1c4d2..261fd00f3ad2 100644 --- a/gcc/config/i386/i386.cc +++ b/gcc/config/i386/i386.cc @@ -22458,7 +22458,7 @@ ix86_invalid_conversion (const_tree fromtype, const_tree totype) || (TYPE_MODE (totype) == BFmode && TYPE_MODE (fromtype) == HImode)) warning (0, "%<__bfloat16%> is redefined from typedef %<short%> " - "to real %<__bf16%> since GCC V13, be careful of " + "to real %<__bf16%> since GCC 13.1, be careful of " "implicit conversion between %<__bf16%> and %<short%>; " "an explicit bitcast may be needed here"); } -- GitLab