public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] rs6000: Fix some error messages for invalid conversions
@ 2022-06-17 14:18 Segher Boessenkool
  0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2022-06-17 14:18 UTC (permalink / raw)
  To: gcc-patches; +Cc: dje.gcc, Kewen.Lin, Segher Boessenkool

"* 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 --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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-17 14:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-17 14:18 [PATCH] rs6000: Fix some error messages for invalid conversions Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).