From: Alan Modra Date: Sun, 31 Jan 2021 01:32:54 +0000 (+1030) Subject: PR27283 gas for alpha fails to build with gcc 11 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7bba67ec7ca86401a51c44e3fac15ff63a176b54;p=binutils-gdb.git PR27283 gas for alpha fails to build with gcc 11 PR 27283 * config/tc-alpha.c (insert_operand): Delete dead code. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b3eb7db8cf9..c6af91d3ec1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2021-02-01 Alan Modra + + PR 27283 + * config/tc-alpha.c (insert_operand): Delete dead code. + 2021-01-26 H.J. Lu PR gas/27243 diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 030ba21b523..6225f37f6e1 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -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;