This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix xtensa assert


Hi!

This has been reported to me, assignment in assert certainly looks wrong.

2004-04-19  Jakub Jelinek  <jakub@redhat.com>

	* config/tc-xtensa.c (xg_assembler_literal): Fix a typo.

--- gas/config/tc-xtensa.c.jj	2004-03-25 12:39:25.000000000 +0100
+++ gas/config/tc-xtensa.c	2004-04-19 09:36:53.062491297 +0200
@@ -3721,7 +3721,7 @@ xg_assemble_literal (insn)
   set_expr_symbol_offset (&saved_loc, frag_now->fr_symbol, frag_now_fix ());
 
   assert (insn->insn_type == ITYPE_LITERAL);
-  assert (insn->ntok = 1);	/* must be only one token here */
+  assert (insn->ntok == 1);	/* must be only one token here */
 
   xtensa_switch_to_literal_fragment (&state);
 

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]