Compiling the following code on MIPS emits a function call to floorf (not floor). This is a problem when one's libc does not contain a floorf function.
void func (float *dest, float *src) { *dest = floor (*src); } Compile using 'mipsel-linux-uclibc-gcc -O2 -save-temps -c it.c'. -- Summary: compiler emits call to floorf() instead of floor() Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ds at schleef dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24578