64-bit host failures, crx
Hans-Peter Nilsson
hp@bitrange.com
Mon Feb 27 11:37:00 GMT 2012
On Mon, 27 Feb 2012, Alan Modra wrote:
> Index: gas/config/tc-crx.c
> @@ -1326,17 +1325,14 @@ get_number_of_operands (void)
> static op_err
> check_range (long *num, int bits, int unsigned flags, int update)
> + /* Trim all values to 32 bits. uint32_t can be more than 32 bits. */
> + value &= 0xffffffff;
No, maybe you were thinking of unsigned long, uint_fast32_t or
uint_least32_t. The type uint32_t is exactly 32 bits, modulo
compiler bugs.
brgds, H-P
PS. honestly, I didn't read all those patches, just a random spotting.
More information about the Binutils
mailing list