diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-06 23:36:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-08 20:02:44 -0500 |
commit | 9f17cdda31504ee821112a88323306cc81ac93cf (patch) | |
tree | c71ef2393a52b033ef1b24ab039da7d0dede5967 /sim | |
parent | 4223df94e038c653eab6cb39928184c3fcb2575f (diff) | |
download | fsf-binutils-gdb-9f17cdda31504ee821112a88323306cc81ac93cf.zip fsf-binutils-gdb-9f17cdda31504ee821112a88323306cc81ac93cf.tar.gz fsf-binutils-gdb-9f17cdda31504ee821112a88323306cc81ac93cf.tar.bz2 |
sim: warnings: enable -Wshift-negative-value
Now that all the relevant sources are fixed, enable the warning.
Diffstat (limited to 'sim')
-rwxr-xr-x | sim/configure | 1 | ||||
-rw-r--r-- | sim/m4/sim_ac_option_warnings.m4 | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sim/configure b/sim/configure index a839c3a..6d0cc76 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 8a54e56..7a28ca6 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. |