From 7bba67ec7ca86401a51c44e3fac15ff63a176b54 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 31 Jan 2021 12:02:54 +1030 Subject: [PATCH] PR27283 gas for alpha fails to build with gcc 11 PR 27283 * config/tc-alpha.c (insert_operand): Delete dead code. --- gas/ChangeLog | 5 +++++ gas/config/tc-alpha.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2