"* something" isn't a type.  "something *" is.

Tested and committed.


Segher


2022-06-17  Segher Boessenkool  <seg...@kernel.crashing.org>

        * config/rs6000/rs6000.cc (rs6000_invalid_conversion): Correct some
        types.
---
 gcc/config/rs6000/rs6000.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index 59481d9ac708..3d1f895ebd52 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 *%>");
        }
     }
 
-- 
1.8.3.1

Reply via email to