[PATCH v2 08/65] bfin: use is_whitespace()

Jan Beulich jbeulich@suse.com
Mon Jan 27 16:07:43 GMT 2025


Wherever blanks are permissible in input, tabs ought to be permissible,
too. This is particularly relevant when -f is passed to gas (alongside
appropriate input).
---
v2: New.

--- a/gas/config/tc-bfin.c
+++ b/gas/config/tc-bfin.c
@@ -1939,7 +1939,8 @@ bfin_eol_in_insn (char *line)
 
   /* If the || is on the next line, there might be leading whitespace.  */
   temp++;
-  while (*temp == ' ' || *temp == '\t') temp++;
+  while (is_whitespace (*temp))
+    temp++;
 
   if (*temp == '|')
     return true;



More information about the Binutils mailing list