Use _LDBL_EQ_DBL in nexttowardf.c
Tom de Vries
Tom_deVries@mentor.com
Mon May 7 09:39:00 GMT 2018
Hi,
quoting from here ( https://sourceware.org/ml/newlib/2014/msg00688.html ):
...
> Drop the FORCE_EVAL macro, and wrap nexttowardf in _LDBL_EQ_DBL as
per > Craig's suggestion.
...
Actually, the patch that Jon submitted there is the same as before, and
is missing those changes.
The commit does contain those changes, except that it uses the
non-existing macro _LDBL_EQ_DOUBLE instead of _LDBL_EQ_DBL.
This patch fixes that.
OK?
[ Found this by running into a link error "unresolved symbol
nexttowardf" for gcc testcase gcc/testsuite/gcc.dg/nextafter-2.c using
the standalone nvptx toolchain. ]
Thanks,
- Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-_LDBL_EQ_DBL-in-nexttowardf.c.patch
Type: text/x-patch
Size: 880 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180507/c1d70029/attachment.bin>
More information about the Newlib
mailing list