aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-31 12:02:54 +1030
committerAlan Modra <amodra@gmail.com>2021-02-01 18:35:33 +1030
commit7bba67ec7ca86401a51c44e3fac15ff63a176b54 (patch)
treebbed02a2838e623e39185cd51d26590f20b9bd3d /gas/config
parent4ebf566ea5cfb95c7ba295defa197d35d3a99781 (diff)
downloadgdb-7bba67ec7ca86401a51c44e3fac15ff63a176b54.zip
gdb-7bba67ec7ca86401a51c44e3fac15ff63a176b54.tar.gz
gdb-7bba67ec7ca86401a51c44e3fac15ff63a176b54.tar.bz2
PR27283 gas for alpha fails to build with gcc 11
PR 27283 * config/tc-alpha.c (insert_operand): Delete dead code.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-alpha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c
index 030ba21..6225f37 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;