gas: add parens to clarify expression and eliminate clang warning
Building mips64 w/ Clang failed with -Werror,-Wshift-negative-value error: shifting a negative signed value is undefined
This commit is contained in:
parent
5ad093100e
commit
bdab1e7024
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=322675
@ -2920,7 +2920,7 @@ append_insn (struct mips_cl_insn *ip, expressionS *address_expr,
|
||||
instruction. May want to add this support in the future. */
|
||||
}
|
||||
/* Never set the bit for $0, which is always zero. */
|
||||
mips_gprmask &= ~1 << 0;
|
||||
mips_gprmask &= ~(1 << 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user