diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-04-27 08:16:55 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-04-27 08:16:55 -0700 |
commit | 60cfa10c36668e3298bab35e9dc86624f3ddf61a (patch) | |
tree | 3781cc32e10bd9d94a9d5557d90687cef8f038d9 /gdb/unittests | |
parent | 3d64c987c7ca9451bae7dd23ce147ce460caeb20 (diff) | |
download | gdb-60cfa10c36668e3298bab35e9dc86624f3ddf61a.zip gdb-60cfa10c36668e3298bab35e9dc86624f3ddf61a.tar.gz gdb-60cfa10c36668e3298bab35e9dc86624f3ddf61a.tar.bz2 |
x86: Add () to silence GCC 5
Add () to !i.prefix[ADDR_PREFIX] to silence GCC 5:
gas/config/tc-i386.c:4152:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
&& !i.prefix[ADDR_PREFIX] != (flag_code == CODE_32BIT))
^
* config/tc-i386.c (optimize_encoding): Add () to silence GCC 5.
Diffstat (limited to 'gdb/unittests')
0 files changed, 0 insertions, 0 deletions