Skip to content

Commit 06a1b04

Browse files
committed
rs6000: Fix some error messages for invalid conversions
"* something" isn't a type. "something *" is. 2022-06-17 Segher Boessenkool <[email protected]> * config/rs6000/rs6000.cc (rs6000_invalid_conversion): Correct some types.
1 parent d6b4238 commit 06a1b04

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gcc/config/rs6000/rs6000.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28305,13 +28305,13 @@ rs6000_invalid_conversion (const_tree fromtype, const_tree totype)
2830528305
&& tomode != VOIDmode)
2830628306
{
2830728307
if (frommode == XOmode)
28308-
return N_("invalid conversion from type %<* __vector_quad%>");
28308+
return N_("invalid conversion from type %<__vector_quad *%>");
2830928309
if (tomode == XOmode)
28310-
return N_("invalid conversion to type %<* __vector_quad%>");
28310+
return N_("invalid conversion to type %<__vector_quad *%>");
2831128311
if (frommode == OOmode)
28312-
return N_("invalid conversion from type %<* __vector_pair%>");
28312+
return N_("invalid conversion from type %<__vector_pair *%>");
2831328313
if (tomode == OOmode)
28314-
return N_("invalid conversion to type %<* __vector_pair%>");
28314+
return N_("invalid conversion to type %<__vector_pair *%>");
2831528315
}
2831628316
}
2831728317

0 commit comments

Comments
 (0)