https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743
--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- > Program received signal SIGSEGV, Segmentation fault. > floorf (x=42.7000008, > x@entry=<error reading variable: DWARF-2 expression error: Loop detected > (257).>) > at ../../../gcc/libgfortran/intrinsics/c99_functions.c:293 AFAIU #ifndef HAVE_FLOORF #define HAVE_FLOORF 1 float floorf (float x); float floorf (float x) { return (float) floor (x); } #endif it means that HAVE_FLOORF is not defined. Do you see that in your libgfortran/config.log?