This is the mail archive of the binutils@sourceware.org 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]

[RFA/gas] dwarf2dbg.c, Assign instead of conditional in assert?


Surely this can't be intentional...

2011-03-09  Michael Snyder  <msnyder@vmware.com>

	* dwarf2dbg.c (emit_fixed_inc_line_addr): Assign instead of 
	conditional in assert.

Index: dwarf2dbg.c
===================================================================
RCS file: /cvs/src/src/gas/dwarf2dbg.c,v
retrieving revision 1.108
diff -u -p -r1.108 dwarf2dbg.c
--- dwarf2dbg.c	28 Feb 2011 18:32:52 -0000	1.108
+++ dwarf2dbg.c	9 Mar 2011 21:18:13 -0000
@@ -1080,7 +1080,7 @@ emit_fixed_inc_line_addr (int line_delta
       symbolS *to_sym;
       expressionS exp;
 
-      gas_assert (pexp->X_op = O_subtract);
+      gas_assert (pexp->X_op == O_subtract);
       to_sym = pexp->X_add_symbol;
 
       *p++ = DW_LNS_extended_op;

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