This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] remove stray space from a warning message (PR 79998)


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]