[PATCH 2/8] x86: optimize LEA

Joseph Myers joseph@codesourcery.com
Mon Apr 26 17:08:06 GMT 2021


On Fri, 23 Apr 2021, Jan Beulich via Binutils wrote:

> +		  && !i.prefix[ADDR_PREFIX] != (flag_code == CODE_32BIT))

I'm seeing a -Werror build failure (with GCC 5):

/scratch/jmyers/glibc-bot/src/binutils/gas/config/tc-i386.c: In function 'optimize_encoding':
/scratch/jmyers/glibc-bot/src/binutils/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))
                               ^

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Binutils mailing list