PR 26509
* config/tc-z80.c (is_overflow): Use 1UL in mask shift expression.
+2020-08-31 Alan Modra <amodra@gmail.com>
+
+ PR 26509
+ * config/tc-z80.c (is_overflow): Use 1UL in mask shift expression.
+
2020-08-30 Alan Modra <amodra@gmail.com>
* config/tc-tic4x.c (tic4x_gen_to_words): Rewrite mantissa
static int
is_overflow (long value, unsigned bitsize)
{
- long fieldmask = (1 << bitsize) - 1;
+ long fieldmask = (1UL << bitsize) - 1;
long signmask = ~fieldmask;
long a = value & fieldmask;
long ss = a & signmask;