Skip to content

Commit

Permalink
Fix the build: error message quote
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
apinski-quic committed Apr 30, 2024
1 parent a30d2e6 commit 1ff71f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcc/tree-cfg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1ff71f7

Please sign in to comment.