public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r15-77] 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-cvs

https://gcc.gnu.org/g:1ff71f71a13f5ed423389d20ed34f3217e632777

commit r15-77-g1ff71f71a13f5ed423389d20ed34f3217e632777
Author: Andrew Pinski <quic_apinski@quicinc.com>
Date:   Tue Apr 30 09:44:52 2024 -0700

    Fix the build: error message `quote`
    
    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>

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

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

only message in thread, other threads:[~2024-04-30 16:49 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 [gcc r15-77] 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).