Another error while compiling newlib, specifically the newlib/libm/common/lroundl.c file. Except for the copyright notice, all its contents are:
#include <math.h>
#include "local.h"
/* On platforms where long double is as wide as double. */
#ifdef _LDBL_EQ_DBL
long
lroundl (long double x)
{
return lround(x);
}
#endif
With some minimization, the emitted bitcode can be reduced to:
Another error while compiling
newlib
, specifically thenewlib/libm/common/lroundl.c
file. Except for the copyright notice, all its contents are:With some minimization, the emitted bitcode can be reduced to:
This produces the following output: