From 1a413677093aca39a9a51c40bdead14d9a06593e Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Mon, 16 Jan 2017 17:08:42 +0000 Subject: [PATCH] gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning message. gcc/ChangeLog: * gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning message. From-SVN: r244500 --- gcc/ChangeLog | 5 +++++ gcc/gimple-ssa-sprintf.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7520de88a3c..9c33999911a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-16 Martin Sebor + + * gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning + message. + 2017-01-16 Bill Schmidt * config/rs6000/rs6000.c (rtx_is_swappable_p): Change diff --git a/gcc/gimple-ssa-sprintf.c b/gcc/gimple-ssa-sprintf.c index e6a6a80c27b..262857c64de 100644 --- a/gcc/gimple-ssa-sprintf.c +++ b/gcc/gimple-ssa-sprintf.c @@ -2049,7 +2049,8 @@ format_directive (const pass_sprintf_length::call_info &info, const char* fmtstr = (info.bounded ? G_("%<%.*s%> directive output may be truncated " - "writing %wu or more bytes a region of size %wu") + "writing %wu or more bytes into a region " + "of size %wu") : G_("%<%.*s%> directive writing %wu or more bytes " "into a region of size %wu")); warned = fmtwarn (dirloc, pargrange, NULL, -- 2.30.2