aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-alpha.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index b3eb7db..c6af91d 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
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;