public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [COMMITTED] Fix the build: error message `quote`
@ 2024-04-30 16:49 Andrew Pinski
  0 siblings, 0 replies; only message in thread
From: Andrew Pinski @ 2024-04-30 16:49 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew Pinski

The problem here is the quote mark is for English's
possessiveness rather than a quote but the error message
format detection is too simple so it warns which causes
-Werror to fail.

Committed as obvious after a quick build.

gcc/ChangeLog:

	* tree-cfg.cc (verify_gimple_assign): Remove quote
	mark to shut up the warning.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
---
 gcc/tree-cfg.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/tree-cfg.cc b/gcc/tree-cfg.cc
index 1c5b7df8541..b2d47b72084 100644
--- a/gcc/tree-cfg.cc
+++ b/gcc/tree-cfg.cc
@@ -4842,7 +4842,7 @@ verify_gimple_assign (gassign *stmt)
       tree lhs = gimple_assign_lhs (stmt);
       if (is_gimple_reg (lhs))
 	{
-	  error ("nontemporal store's lhs cannot be a gimple register");
+	  error ("nontemporal store lhs cannot be a gimple register");
 	  debug_generic_stmt (lhs);
 	  return true;
 	}
-- 
2.43.0


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

only message in thread, other threads:[~2024-04-30 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-30 16:49 [COMMITTED] Fix the build: error message `quote` Andrew Pinski

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).