]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
sim: m32c: fix -Wshadow=local warnings
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Dec 2023 23:05:50 +0000 (18:05 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 23 Dec 2023 04:29:19 +0000 (23:29 -0500)
commite4e3a80911a6c214ad4c9bae50593adc578d9c60
tree3571d6dc1c58cc4d46927991cf56377a7cde496f
parent2d351bda2f0611ad16cd2ba8233fae0660f448d6
sim: m32c: fix -Wshadow=local warnings

These decoders declare a lot of common variables for use by substeps,
and then shadows a few because of how the opc generator is implemented.
Easiest way around it is to rename the per-substep vars as needed as
anything more would require substantial changes to the opc logic.
sim/m32c/m32c.opc
sim/m32c/r8c.opc