Re: [PATCH 4/5] Document warning option -Wstring-plus-int

2017-04-28 Thread Jeff Law
On 02/22/2017 04:01 AM, Xi Ruoyao wrote: This patch adds document of -Wstring-plus-int. gcc/ChangeLog: 2017-02-22 Xi Ruoyao * doc/invoke.texi (Warning Options): Document -Wstring-plus-int This is OK for the trunk once all 5 are approved. jeff

Re: [PATCH 4/5] Document warning option -Wstring-plus-int

2017-02-27 Thread Xi Ruoyao
On 2017-02-25 Sat 18:19 +0100, Gerald Pfeifer wrote: > I.e., after reading the above, I was wondering who'd do "abc" + 1. > > Of course, once I looked at your good additions to the testsuite, > I realized that this is really more about "abc" + '1'.  Technically > the description is correct, since

Re: [PATCH 4/5] Document warning option -Wstring-plus-int

2017-02-25 Thread Gerald Pfeifer
On Wed, 22 Feb 2017, Xi Ruoyao wrote: > 2017-02-22  Xi Ruoyao   > > * doc/invoke.texi (Warning Options): Document -Wstring-plus-int In principle this looks fine, but... > +@item -Wstring-plus-int > +@opindex Wstring-plus-int > +@opindex Wno-string-plus-int > +Warn for adding an integer to

[PATCH 4/5] Document warning option -Wstring-plus-int

2017-02-22 Thread Xi Ruoyao
This patch adds document of -Wstring-plus-int. gcc/ChangeLog: 2017-02-22  Xi Ruoyao   * doc/invoke.texi (Warning Options): Document -Wstring-plus-int ---  gcc/doc/invoke.texi | 8 +++-  1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.