From: Jan Beulich Date: Mon, 3 Feb 2025 10:55:40 +0000 (+0100) Subject: bfin: use is_whitespace() X-Git-Tag: binutils-2_45~1759 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d782a79886554fd745b1427439d8083060515a2;p=thirdparty%2Fbinutils-gdb.git bfin: use is_whitespace() 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). --- diff --git a/gas/config/tc-bfin.c b/gas/config/tc-bfin.c index d91ca5fa083..5b1db29b505 100644 --- 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;