aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVolker Reichelt <v.reichelt@netcologne.de>2017-06-05 18:05:37 +0000
committerVolker Reichelt <reichelt@gcc.gnu.org>2017-06-05 18:05:37 +0000
commit2506e3b02ad41eb36f7c306b9d927e86e9ae66dc (patch)
tree2ce1c2a99ff82f4e6dce344bf2b3d4694f120bd5 /gcc
parentaea5e79a63f965a9ed5fd2ef1943e3865495e987 (diff)
downloadgcc-2506e3b02ad41eb36f7c306b9d927e86e9ae66dc.zip
gcc-2506e3b02ad41eb36f7c306b9d927e86e9ae66dc.tar.gz
gcc-2506e3b02ad41eb36f7c306b9d927e86e9ae66dc.tar.bz2
* doc/invoke.texi (-Wduplicated-branches): Add to warning list.
From-SVN: r248887
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi3
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 15841da..0006c82 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 819e800..e691f48 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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