]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: warnings: enable -Wduplicated-cond
authorMike Frysinger <vapier@gentoo.org>
Thu, 21 Dec 2023 05:02:03 +0000 (00:02 -0500)
committerMike Frysinger <vapier@gentoo.org>
Thu, 21 Dec 2023 05:02:20 +0000 (00:02 -0500)
sim/configure
sim/m4/sim_ac_option_warnings.m4

index 53dfa3d76c39d81d36c55c280d2f2f94473d91c9..53351bb05d15b6adee90cb472b235ec0cecc2e96 100755 (executable)
@@ -15827,6 +15827,7 @@ build_warnings="-Wall -Wpointer-arith
 -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable
 -Wno-sign-compare -Wno-error=maybe-uninitialized
 -Wno-error=deprecated-register
+-Wduplicated-cond
 -Wmissing-declarations
 "
 build_warnings="$build_warnings
index 7bcf9af7804fde0c4ac6aab02fd9571616b833f5..9f1487f93d0cc314ebcf8e2697230701c58f307e 100644 (file)
@@ -44,6 +44,7 @@ build_warnings="-Wall -Wpointer-arith
 dnl C++ -Wno-mismatched-tags
 -Wno-error=deprecated-register
 dnl C++ -Wsuggest-override
+-Wduplicated-cond
 dnl C++ -Wdeprecated-copy
 dnl C++ -Wdeprecated-copy-dtor
 dnl C++ -Wredundant-move