[Bug libfortran/23380] [mingw32] cpu_time intrinsic malfunction
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Aug 14 01:34:00 GMT 2005
------- Additional Comments From kargl at gcc dot gnu dot org 2005-08-14 01:33 -------
(In reply to comment #1)
> This is a mingw32 specific issue.
>
> The implemention for mingw32 is not complete.
> intrinsics/cpu_time.c is where it is implemented,
> we only check for HAVE_GETRUSAGE and HAVE_TIMES.
This isn't exactly correct. If neither HAVE_GETRUSAGE nor HAVE_TIMES
is defined, cpu_time can and does return -1. It appears that MingW
claims to have a HAVE_TIMES, when in fact it is broken. This is not
a gfortran problem. Please contact the MingW developers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23380
More information about the Gcc-bugs
mailing list