[Bug fortran/30780] cpu_time produces a floating point exception when used with -O0
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 13 04:26:00 GMT 2007
------- Comment #3 from kargl at gcc dot gnu dot org 2007-02-13 04:26 -------
troutmask:sgk[223] gfc4x -o z -g -ffpe-trap='precision' g.f90
troutmask:sgk[224] gdb ./z
(gdb) run
Starting program: /usr/home/sgk/tmp/z
Program received signal SIGFPE, Arithmetic exception.
0x000000000040a3b2 in *_gfortrani_cpu_time_4 (time=0x7fffffffe988)
at ../../../gcc4x/libgfortran/intrinsics/cpu_time.c:160
160 *time = sec + usec * (GFC_REAL_4)1.e-6;
I have no idea how to fix this problem at the moment.
This is on amd64-*-freebsd.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-02-13 04:26:26
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30780
More information about the Gcc-bugs
mailing list