AArch64/opcodes: Correct another `index' global shadowing error
authorMaciej W. Rozycki <macro@imgtec.com>
Thu, 8 Dec 2016 22:51:44 +0000 (22:51 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Thu, 8 Dec 2016 23:21:23 +0000 (23:21 +0000)
commit329d01f70ea6367a9593c9b31e268c06dd729ec9
treeca14dec75e027a21e3a6ebd83ea6f09405c79841
parent3a2488dd21a895df3ffb49048f5de1a83ce2ddd4
AArch64/opcodes: Correct another `index' global shadowing error

Fix a commit c2c4ff8d52a2 ("[AArch64] Add ARMv8.3 FCMLA and FCADD
instructions") build regression:

cc1: warnings being treated as errors
.../opcodes/aarch64-dis.c: In function 'aarch64_ext_sve_addr_rr_lsl':
.../opcodes/aarch64-dis.c:1324: error: declaration of 'index' shadows a global declaration
/usr/include/string.h:303: error: shadowed declaration is here
make[4]: *** [aarch64-asm.lo] Error 1

in a way following commit 91d6fa6a035c ("Add -Wshadow to the gcc command
line options used when compiling the binutils.").

opcodes/
* aarch64-asm.c (aarch64_ins_reglane): Rename `index' local
variable to `reglane_index'.
opcodes/ChangeLog
opcodes/aarch64-asm.c
This page took 0.024707 seconds and 4 git commands to generate.