]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: warnings: enable -Wshift-negative-value
authorMike Frysinger <vapier@gentoo.org>
Sun, 7 Jan 2024 04:36:13 +0000 (23:36 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Jan 2024 01:02:44 +0000 (20:02 -0500)
Now that all the relevant sources are fixed, enable the warning.

sim/configure
sim/m4/sim_ac_option_warnings.m4

index a839c3a4fb1ecdd676a5741d31407af49fb62ffa..6d0cc76928347dfb953f8064365e13db754792cc 100755 (executable)
@@ -16175,6 +16175,7 @@ build_warnings="$build_warnings
 -Wpointer-sign
 -Wreturn-mismatch
 -Wreturn-type
+-Wshift-negative-value
 -Wstrict-prototypes
 -Wno-enum-conversion
 "
index 8a54e563bad21d501df4641eeb7acd13ae5fa53b..7a28ca621a0b967c37f822a5142c4dd63004621a 100644 (file)
@@ -70,6 +70,7 @@ build_warnings="$build_warnings
 -Wpointer-sign
 -Wreturn-mismatch
 -Wreturn-type
+-Wshift-negative-value
 -Wstrict-prototypes
 dnl The cgen virtual insn logic involves enum conversions.
 dnl Disable until we can figure out how to make this work.