PR27283 gas for alpha fails to build with gcc 11

Message ID 20210201081824.GF26219@bubble.grove.modra.org
State New
Headers show
Series
  • PR27283 gas for alpha fails to build with gcc 11
Related show

Commit Message

Alan Modra via Binutils Feb. 1, 2021, 8:18 a.m.
PR 27283
	* config/tc-alpha.c (insert_operand): Delete dead code.


-- 
Alan Modra
Australia Development Lab, IBM

Patch

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;