public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-1154] rs6000: Fix some error messages for invalid conversions
@ 2022-06-17 14:17 Segher Boessenkool
0 siblings, 0 replies; only message in thread
From: Segher Boessenkool @ 2022-06-17 14:17 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:06a1b0418fb31b833119089ea37d5d3df372a13e
commit r13-1154-g06a1b0418fb31b833119089ea37d5d3df372a13e
Author: Segher Boessenkool <segher@kernel.crashing.org>
Date: Fri Jun 17 14:07:37 2022 +0000
rs6000: Fix some error messages for invalid conversions
"* something" isn't a type. "something *" is.
2022-06-17 Segher Boessenkool <segher@kernel.crashing.org>
* config/rs6000/rs6000.cc (rs6000_invalid_conversion): Correct some
types.
Diff:
---
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 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 *%>");
}
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-17 14:17 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:17 [gcc r13-1154] 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).