public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] rs6000: update error message format.
@ 2022-03-22 12:39 Martin Liška
  2022-03-22 15:13 ` Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Liška @ 2022-03-22 12:39 UTC (permalink / raw)
  To: gcc-patches

Pushed to master as obvious.

	PR target/104898

gcc/ChangeLog:

	* config/rs6000/rs6000.cc (rs6000_option_override_internal):
	Use %qs instead of (%qs).
---
  gcc/config/rs6000/rs6000.cc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/rs6000/rs6000.cc b/gcc/config/rs6000/rs6000.cc
index 283e8306ff7..a7645820b1e 100644
--- a/gcc/config/rs6000/rs6000.cc
+++ b/gcc/config/rs6000/rs6000.cc
@@ -4345,7 +4345,7 @@ rs6000_option_override_internal (bool global_init_p)
  	    rs6000_veclib_handler = rs6000_builtin_vectorized_libmass;
  	  else
  	    {
-	      error ("unknown vectorization library ABI type (%qs) for "
+	      error ("unknown vectorization library ABI type %qs for "
  		     "%qs switch", rs6000_veclibabi_name, "-mveclibabi=");
  	      ret = false;
  	    }
-- 
2.35.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rs6000: update error message format.
  2022-03-22 12:39 [PATCH] rs6000: update error message format Martin Liška
@ 2022-03-22 15:13 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2022-03-22 15:13 UTC (permalink / raw)
  To: Martin Liška; +Cc: gcc-patches

On Tue, Mar 22, 2022 at 01:39:12PM +0100, Martin Liška wrote:
> Pushed to master as obvious.

An obvious what?  It is not an improvement, just a change.

> -	      error ("unknown vectorization library ABI type (%qs) for "
> +	      error ("unknown vectorization library ABI type %qs for "
>  		     "%qs switch", rs6000_veclibabi_name, "-mveclibabi=");

Can you make it print -mveclibabi=something instead?  With some
wordsmithing of course...  "unknown vectorization library type in
-mveclibabi=blubber" or something?


Segher

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-22 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 12:39 [PATCH] rs6000: update error message format Martin Liška
2022-03-22 15:13 ` 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).