Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/tests/lib/libc/gen
Module Name: src
Committed By: kre
Date: Tue Feb 17 09:27:25 UTC 2026
Modified Files:
src/tests/lib/libc/gen: t_fpclassify.c
Log Message:
Take 2 on attempted build fix.
The issue seems to be the
#define makequietsignallingl makequietsignalling
which happens when ! defined(__HAVE_LONG_DOUBLE)
That worked before as
long double f = makequietsignalling(...);
(effectively) just did a type conversion from double to long double
(which might be a no-op, but is still a type conversion) and so was
OK.
But the new method
makequietsignalling(&ldvar, ...)
doesn't work as a pointer to a long double is not the same as pointer
to a double, even if the types happen to be implemented identically.
So instead of the #define instead try implementing makequietsignallingl()
by having it simply call makequietsignalling() and then allowing the
compiler to a (hopefully benign) type conversion of the result from
double to long double, and then store that via the pointer passed in.
Once again feel free to revert this and fix the issue some other way.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/tests/lib/libc/gen/t_fpclassify.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index