The 03/13/2020 10:45, Martin Sebor via Gcc-patches wrote:
> On 3/12/20 7:17 PM, Joseph Myers wrote:
> > On Thu, 5 Mar 2020, Martin Sebor wrote:
> >
> > > Tested on x86_64-linux. Is this acceptable for GCC 10? How about 9?
> >
> > OK for GCC 10.
>
> Thank you. I committed it to trunk in r10-7162.
arm glibc build fails for me since this commit.
../sysdeps/ieee754/dbl-64/s_modf.c:84:28: error: conflicting types for built-in
function 'modfl'; expected 'long double(long double, long double *)'
[-Werror=builtin-declaration-mismatch]
84 | libm_alias_double (__modf, modf)
| ^~~~
it seems this used to compile but not any more:
double modf (double x, double *p) { return x; }
extern __typeof (modf) modfl __attribute__ ((weak, alias ("modf")))
__attribute__ ((__copy__ (modf)));