From: Segher Boessenkool Date: Fri, 17 Jun 2022 14:07:37 +0000 (+0000) Subject: rs6000: Fix some error messages for invalid conversions X-Git-Tag: basepoints/gcc-14~6053 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06a1b0418fb31b833119089ea37d5d3df372a13e;p=thirdparty%2Fgcc.git rs6000: Fix some error messages for invalid conversions "* something" isn't a type. "something *" is. 2022-06-17 Segher Boessenkool * config/rs6000/rs6000.cc (rs6000_invalid_conversion): Correct some types. --- diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc index 59481d9ac70..3d1f895ebd5 100644 --- a/gcc/config/rs6000/rs6000.cc +++ b/gcc/config/rs6000/rs6000.cc @@ -28305,13 +28305,13 @@ rs6000_invalid_conversion (const_tree fromtype, const_tree totype) && tomode != VOIDmode) { if (frommode == XOmode) - return N_("invalid conversion from type %<* __vector_quad%>"); + return N_("invalid conversion from type %<__vector_quad *%>"); if (tomode == XOmode) - return N_("invalid conversion to type %<* __vector_quad%>"); + return N_("invalid conversion to type %<__vector_quad *%>"); if (frommode == OOmode) - return N_("invalid conversion from type %<* __vector_pair%>"); + return N_("invalid conversion from type %<__vector_pair *%>"); if (tomode == OOmode) - return N_("invalid conversion to type %<* __vector_pair%>"); + return N_("invalid conversion to type %<__vector_pair *%>"); } }