diff mbox series

rs6000: Fix some error messages for invalid conversions

Message ID 06a1b0418fb31b833119089ea37d5d3df372a13e.1655475433.git.segher@kernel.crashing.org
State New
Headers show
Series rs6000: Fix some error messages for invalid conversions | expand

Commit Message

Segher Boessenkool June 17, 2022, 2:18 p.m. UTC
"* something" isn't a type.  "something *" is.

Tested and committed.


Segher


2022-06-17  Segher Boessenkool  <segher@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 mbox series

Patch

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 *%>");
 	}
     }