This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/68743] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Dec 2015 20:42:23 +0000
- Subject: [Bug fortran/68743] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test
- Auto-submitted: auto-generated
- References: <bug-68743-4 at http dot gcc dot gnu dot org/bugzilla/>
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.anglin@bell.net