diff mbox series

[COMMITTED] Fix the build: error message `quote`

Message ID 20240430164953.878433-1-quic_apinski@quicinc.com
State New
Headers show
Series [COMMITTED] Fix the build: error message `quote` | expand

Commit Message

Andrew Pinski April 30, 2024, 4:49 p.m. UTC
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 mbox series

Patch

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;
 	}