Re: [PATCH] Add missing entry for -Wduplicated-branches

2017-06-05 Thread Volker Reichelt
On 5 Jun, Marek Polacek wrote: > On Mon, Jun 05, 2017 at 02:38:11PM +0200, Volker Reichelt wrote: >> Hi, >> >> the warning option -Wduplicated-branches added by Marek in r244705 >> https://gcc.gnu.org/viewcvs?rev=244705&root=gcc&view=rev >> lacks an entry in the warning list of doc/invoke.texi. >

Re: [PATCH] Add missing entry for -Wduplicated-branches

2017-06-05 Thread Marek Polacek
On Mon, Jun 05, 2017 at 02:38:11PM +0200, Volker Reichelt wrote: > Hi, > > the warning option -Wduplicated-branches added by Marek in r244705 > https://gcc.gnu.org/viewcvs?rev=244705&root=gcc&view=rev > lacks an entry in the warning list of doc/invoke.texi. Oops. > The patch below fixes that. >

[PATCH] Add missing entry for -Wduplicated-branches

2017-06-05 Thread Volker Reichelt
Hi, the warning option -Wduplicated-branches added by Marek in r244705 https://gcc.gnu.org/viewcvs?rev=244705&root=gcc&view=rev lacks an entry in the warning list of doc/invoke.texi. The patch below fixes that. OK for trunk? What about the GCC 7 branch? Regards, Volker 2017-06-05 Volker Reiche