From 2506e3b02ad41eb36f7c306b9d927e86e9ae66dc Mon Sep 17 00:00:00 2001 From: Volker Reichelt Date: Mon, 5 Jun 2017 18:05:37 +0000 Subject: [PATCH] * doc/invoke.texi (-Wduplicated-branches): Add to warning list. From-SVN: r248887 --- gcc/ChangeLog | 4 ++++ gcc/doc/invoke.texi | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 15841daac59..0006c82454c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2017-06-05 Volker Reichelt + + * doc/invoke.texi (-Wduplicated-branches): Add to warning list. + 2017-06-05 Jan Hubicka * cfgexpand.c (expand_gimple_tailcall): Initialize profile of diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 819e80070cd..e691f48cf56 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 -- 2.30.2