* nds32-asm.c (parse_operand): Fix out-of-range integer constant.

This commit is contained in:
Maciej W. Rozycki 2014-01-06 10:40:48 +08:00 committed by Kuan-Lin Chen
parent 31e44d0a8b
commit b0b0c9fc49
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-01-03 Maciej W. Rozycki <macro@codesourcery.com>
* nds32-asm.c (parse_operand): Fix out-of-range integer constant.
2013-12-17 Kuan-Lin Chen <kuanlinchentw@gmail.com>
* nds32-dis.c (sr_map): Add system register table for disassembling.

View File

@ -1370,7 +1370,7 @@ parse_operand (nds32_asm_desc_t *pdesc, nds32_asm_insn_t *pinsn,
hashval_t hash;
const field_t *fld = &LEX_GET_FIELD (syn);
keyword_t *k;
int64_t value = 0x100000000; /* Big enough to overflow. */
int64_t value;
int r;
uint64_t modifier = 0;