From: Mike Frysinger Date: Sun, 7 Jan 2024 04:36:13 +0000 (-0500) Subject: sim: warnings: enable -Wshift-negative-value X-Git-Tag: binutils-2_42~202 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9f17cdda31504ee821112a88323306cc81ac93cf;p=thirdparty%2Fbinutils-gdb.git sim: warnings: enable -Wshift-negative-value Now that all the relevant sources are fixed, enable the warning. --- diff --git a/sim/configure b/sim/configure index a839c3a4fb1..6d0cc769283 100755 --- a/sim/configure +++ b/sim/configure @@ -16175,6 +16175,7 @@ build_warnings="$build_warnings -Wpointer-sign -Wreturn-mismatch -Wreturn-type +-Wshift-negative-value -Wstrict-prototypes -Wno-enum-conversion " diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index 8a54e563bad..7a28ca621a0 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -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.