Hi!
When compiling binutils-2.24 on NetBSD-6.99.28/amd64 with
clang-3.4rc1, the build stops in gas/config/tc-i386.c:
config/tc-i386.c:1668:32: error: unused variable 'regbnd'
[-Werror,-Wunused-const-variable]
static const i386_operand_type regbnd = OPERAND_TYPE_REGBND;
^
config/tc-i386.c:1669:32: error: unused variable 'vec_disp8'
[-Werror,-Wunused-const-variable]
static const i386_operand_type vec_disp8 = OPERAND_TYPE_VEC_DISP8;
^
The attached patch comments out these variables, but perhaps they
should be used instead? I don't know, so I thought I'd just report
this issue.
The current version according to
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=gas/config/tc-i386.c;h=c6e1dba5039f6dde1f6ed95b781c3140333cd160;hb=HEAD
still has the same issue.
Cheers,
Thomas
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils