public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] remove stray space from a warning message (PR 79998)
@ 2017-08-14 17:38 Martin Sebor
  0 siblings, 0 replies; only message in thread
From: Martin Sebor @ 2017-08-14 17:38 UTC (permalink / raw)
  To: Gcc Patch List

The trivial tweak below removes the spurious space pointed out
in bug 79998 - typo in diagnostic "specified bound %wu".  The
patch has been committed in r251096.

Martin

Index: gcc/gimple-ssa-sprintf.c
===================================================================
--- gcc/gimple-ssa-sprintf.c	(revision 251094)
+++ gcc/gimple-ssa-sprintf.c	(working copy)
@@ -3868,7 +3868,7 @@ pass_sprintf_length::handle_gimple_call (gimple_st
  	    }
  	  else if (dstsize > target_int_max ())
  	    warning_at (gimple_location (info.callstmt), info.warnopt (),
-			"specified bound %wu exceeds %<INT_MAX %>",
+			"specified bound %wu exceeds %<INT_MAX%>",
  			dstsize);
  	}
        else if (TREE_CODE (size) == SSA_NAME)

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

only message in thread, other threads:[~2017-08-14 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-14 17:38 [committed] remove stray space from a warning message (PR 79998) Martin Sebor

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