[binutils-gdb] cris: use is_end_of_stmt()

Jan Beulich jbeulich@sourceware.org
Fri Mar 7 07:13:14 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=13381aae83e1abd1653ed6c950a7b55583d92dd8

commit 13381aae83e1abd1653ed6c950a7b55583d92dd8
Author: Jan Beulich <jbeulich@suse.com>
Date:   Fri Mar 7 08:10:57 2025 +0100

    cris: use is_end_of_stmt()
    
    Fix use of is_end_of_line[] directly instead of through the
    is_end_of_stmt() macro.

Diff:
---
 gas/config/tc-cris.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gas/config/tc-cris.c b/gas/config/tc-cris.c
index c9c16f96745..22048694f4b 100644
--- a/gas/config/tc-cris.c
+++ b/gas/config/tc-cris.c
@@ -2094,7 +2094,7 @@ cris_process_instruction (char *insn_text, struct cris_instruction *out_insnp,
 
 	      /* As discard_rest_of_line, but without continuing to the
 		 next line.  */
-	      while (!is_end_of_line[(unsigned char) *input_line_pointer])
+	      while (!is_end_of_stmt (*input_line_pointer))
 		input_line_pointer++;
 	      return;
 	    }


More information about the Binutils-cvs mailing list