diff options
author | Alan Modra <amodra@gmail.com> | 2016-03-02 08:58:07 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-03-02 13:35:41 +1030 |
commit | 62de1c630f16c21418464727692bcd29e23ef1b0 (patch) | |
tree | c668a9536a57051a0e24f44444168d4ae7fd3805 /opcodes | |
parent | e14ec281fb9f6c4cc7bf59ed18d2acaf02d4d0f9 (diff) | |
download | gdb-62de1c630f16c21418464727692bcd29e23ef1b0.zip gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.gz gdb-62de1c630f16c21418464727692bcd29e23ef1b0.tar.bz2 |
Fix shift left warning at source
cpu/
* fr30.cpu (f-m4): Replace -1 << 4 with -16.
opcodes/
* fr30-ibld.c: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/fr30-ibld.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 0a78719..63361e4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2016-03-02 Alan Modra <amodra@gmail.com> + + * fr30-ibld.c: Regenerate. + 2016-03-01 Nick Clifton <nickc@redhat.com> PR target/19747 diff --git a/opcodes/fr30-ibld.c b/opcodes/fr30-ibld.c index 1293e73..3ebecf9 100644 --- a/opcodes/fr30-ibld.c +++ b/opcodes/fr30-ibld.c @@ -881,7 +881,7 @@ fr30_cgen_extract_operand (CGEN_CPU_DESC cd, { long value; length = extract_normal (cd, ex_info, insn_value, 0, 0, 8, 4, 16, total_length, pc, & value); - value = ((value) | (((-1UL) << (4)))); + value = ((value) | (-16)); fields->f_m4 = value; } break; |