PR27283 gas for alpha fails to build with gcc 11

Alan Modra amodra@gmail.com
Mon Feb 1 08:18:24 GMT 2021


	PR 27283
	* config/tc-alpha.c (insert_operand): Delete dead code.

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;
 

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list