bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28791] [z80-unknown-elf-as]: new unexpected overflow warni


From: petemoore at gmx dot net
Subject: [Bug binutils/28791] [z80-unknown-elf-as]: new unexpected overflow warning in v2.37
Date: Tue, 18 Jan 2022 18:43:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28791

--- Comment #4 from Pete Moore <petemoore at gmx dot net> ---
git bisect completed:

```
9a01ec4c0368048fb5ea1ba1b3af9afbd651b529 is the first bad commit
commit 9a01ec4c0368048fb5ea1ba1b3af9afbd651b529
Author: Sergey Belyashov <sergey.belyashov@gmail.com>
Date:   Thu May 20 16:14:10 2021 +0100

    Fix overflow detection in the Z80 assembler.

     * config/tc-z80.c (emit_data_val): Warn on constant overflow.
     (signed_overflow): New function.
     (unsigned_overflow): New function.
     (is_overflow): Use new functions.
     (md_apply_fix): Use signed_overflow.
     * testsuite/gas/z80/ez80_adl_suf.d: Fix test.
     * testsuite/gas/z80/ez80_isuf.s: Likewise.
     * testsuite/gas/z80/ez80_z80_suf.d: Likewise.

 gas/ChangeLog                        |  11 +
 gas/config/tc-z80.c                  |  32 ++-
 gas/testsuite/gas/z80/ez80_adl_suf.d |   2 +-
 gas/testsuite/gas/z80/ez80_isuf.s    | 380 +++++++++++++++++------------------
 gas/testsuite/gas/z80/ez80_z80_suf.d |   2 +-
 5 files changed, 227 insertions(+), 200 deletions(-)
bisect run success
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]