This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH] aarch64 sim FP to unsigned integer conversion fix


Hi Jim,

> FP to unsigned integer conversions are being truncated to the signed
> INT_MAX and LONG_MAX when they should be truncated to UINT_MAX and
> ULONG_MAX.  This requires adding a bunch of new variables, as this
> truncation happens inside a macro that uses token pasting to create
> variable names.
> 
> The testcase fails without the patch and works with the patch.  GCC C
> testsuite failures drop from 2568 to 2538 with the patch.

Approved - please apply.

Cheers
  Nick



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