This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 64-bit host failures, crx


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]