yasm/libyasm/tests/expr-wide-ident.asm
Peter Johnson 110cc94e27 * expr.c (expr_simplify_identity): Fix crash when there are greater than 2
terms in an expr, only 1 of them is an intnum, and it can get removed.

* expr-wide-ident.asm: Test for this case.

Reported by: Brian Gladman

svn path=/trunk/yasm/; revision=1438
2006-03-28 09:35:44 +00:00

2 lines
34 B
NASM

lea edx, [lentry+edx+ecx]
lentry: