https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743

--- Comment #2 from dave.anglin at bell dot net ---
On 2015-12-07, at 5:58 PM, dominiq at lps dot ens.fr wrote:

> Could you
> please investigate what is wrong with your libs?

There is a problem with the call to floor in the floorf function at
c99_functions.c:293.
Somehow, it calls floorf instead and this causes a stack overflow:

Pid 12028 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxssiz. 

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

Relocation section '.rela.text.floorf' at offset 0xde70 contains 1 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
00000000000c  00d00000004a R_PARISC_PCREL22F 0000000000000000 floorf + 0

It's like floor is aliased to floorf.

--
John David Anglin       dave.ang...@bell.net

Reply via email to