* doc/invoke.texi (-Wduplicated-branches): Add to warning list.
authorVolker Reichelt <v.reichelt@netcologne.de>
Mon, 5 Jun 2017 18:05:37 +0000 (18:05 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Mon, 5 Jun 2017 18:05:37 +0000 (18:05 +0000)
From-SVN: r248887

gcc/ChangeLog
gcc/doc/invoke.texi

index 15841daac597611fddce688cc5e3abbfd81b640d..0006c82454c872097b7b1d746ba2797fc024dca2 100644 (file)
@@ -1,3 +1,7 @@
+2017-06-05  Volker Reichelt  <v.reichelt@netcologne.de>
+
+       * doc/invoke.texi (-Wduplicated-branches): Add to warning list.
+
 2017-06-05  Jan Hubicka  <hubicka@ucw.cz>
 
        * cfgexpand.c (expand_gimple_tailcall): Initialize profile of
index 819e80070cddb41645377a24e37a665e914dfe10..e691f48cf56aa2b27f169f6fa72e029ef3fa68a5 100644 (file)
@@ -273,7 +273,8 @@ Objective-C and Objective-C++ Dialects}.
 -Wno-deprecated  -Wno-deprecated-declarations  -Wno-designated-init @gol
 -Wdisabled-optimization @gol
 -Wno-discarded-qualifiers  -Wno-discarded-array-qualifiers @gol
--Wno-div-by-zero  -Wdouble-promotion  -Wduplicated-cond @gol
+-Wno-div-by-zero  -Wdouble-promotion @gol
+-Wduplicated-branches  -Wduplicated-cond @gol
 -Wempty-body  -Wenum-compare  -Wno-endif-labels  -Wexpansion-to-defined @gol
 -Werror  -Werror=*  -Wextra-semi  -Wfatal-errors @gol
 -Wfloat-equal  -Wformat  -Wformat=2 @gol