[PATCH] aarch64 sim FP to unsigned integer conversion fix
Jim Wilson
jim.wilson@linaro.org
Fri Dec 23 22:04:00 GMT 2016
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.
Jim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-sim-fixuns.patch
Type: text/x-patch
Size: 6346 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20161223/54c4d400/attachment.bin>
More information about the Gdb-patches
mailing list