PR27283 gas for alpha fails to build with gcc 11

PR 27283
	* config/tc-alpha.c (insert_operand): Delete dead code.
This commit is contained in:
Alan Modra 2021-01-31 12:02:54 +10:30
parent 4ebf566ea5
commit 7bba67ec7c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2021-02-01 Alan Modra <amodra@gmail.com>
PR 27283
* config/tc-alpha.c (insert_operand): Delete dead code.
2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
PR gas/27243

View File

@ -1973,7 +1973,7 @@ insert_operand (unsigned insn,
const char *file,
unsigned line)
{
if (operand->bits != 32 && !(operand->flags & AXP_OPERAND_NOOVERFLOW))
if (!(operand->flags & AXP_OPERAND_NOOVERFLOW))
{
offsetT min, max;