[Bug fortran/68743] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Dec 12 20:51:00 GMT 2015


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?


More information about the Gcc-bugs mailing list