]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: cris: fix -Wunused-but-set-variable warnings
authorMike Frysinger <vapier@gentoo.org>
Thu, 7 Dec 2023 03:06:07 +0000 (20:06 -0700)
committerMike Frysinger <vapier@gentoo.org>
Fri, 8 Dec 2023 04:41:27 +0000 (21:41 -0700)
commit4125d6473842ec85797bde679421f980103f45c5
tree3013b08014915600f2c569edfcd43a0c132da3cb
parentee45e43358fdd19cbf061f813c8c544c5e225606
sim: cris: fix -Wunused-but-set-variable warnings

We suppress the warning in the generated switch file because the cris
cpu file has a hack to workaround a cgen bug, but that generates a set
but unused variable which makes the compiler upset.
sim/Makefile.in
sim/cris/local.mk
sim/cris/sim-if.c