|
From: | luis.machado at linaro dot org |
Subject: | [Bug gas/25224] [Z80][PATCH] Add support for Zilog Z180 and eZ80 CPUs |
Date: | Thu, 09 Jan 2020 13:36:01 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25224 --- Comment #27 from Luis Machado <luis.machado at linaro dot org> --- I'm still seeing this for aarch64 (and s390). ../../binutils-gdb/opcodes/z80-dis.c: In function 'ld_ii_ii': ../../binutils-gdb/opcodes/z80-dis.c:606:36: error: comparison is always false due to limited range of data type [-Werror=type-limits] p = (buf->data[buf->n_fetch - 2] == (char) 0xdd) ? 0 : 1; Isn't the problem the difference in types? The cast is for (char), but buf->data is explicitly (signed char). If the architecture's char defaults to unsigned char, then we'd have a problem. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |