Skip to content
Snippets Groups Projects
Commit 20ff0c0b authored by liuhongt's avatar liuhongt
Browse files

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 0a888650)
parent 5ec044e8
No related branches found
No related tags found
No related merge requests found
...@@ -22458,7 +22458,7 @@ ix86_invalid_conversion (const_tree fromtype, const_tree totype) ...@@ -22458,7 +22458,7 @@ ix86_invalid_conversion (const_tree fromtype, const_tree totype)
|| (TYPE_MODE (totype) == BFmode || (TYPE_MODE (totype) == BFmode
&& TYPE_MODE (fromtype) == HImode)) && TYPE_MODE (fromtype) == HImode))
warning (0, "%<__bfloat16%> is redefined from typedef %<short%> " 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%>; " "implicit conversion between %<__bf16%> and %<short%>; "
"an explicit bitcast may be needed here"); "an explicit bitcast may be needed here");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment