z80 assembler: Fix new unexpected overflow warning in v2.37
authorNick Clifton <nickc@redhat.com>
Mon, 21 Mar 2022 11:33:59 +0000 (11:33 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 21 Mar 2022 11:33:59 +0000 (11:33 +0000)
commita58b0053f4c4b4f0089f3985a41d0deac4c59ea4
tree77300c440e286ed65190cf20f84189bf86b2a2c4
parent1add37b567a7dee39d99f37b37802034c3fce9c4
z80 assembler: Fix new unexpected overflow warning in v2.37

PR 28791
* config/tc-z80.c (emit_data_val): Do not warn about overlarge
constants generated by bit manipulation operators.
* testsuite/gas/z80/pr28791.s: New test source file.
* testsuite/gas/z80/pr28791.d: New test driver file.
gas/ChangeLog
gas/config/tc-z80.c
gas/testsuite/gas/z80/pr28791.d [new file with mode: 0644]
gas/testsuite/gas/z80/pr28791.s [new file with mode: 0644]