[Bug fortran/34533] DTIME returns total process time and not since last invocation
kargl at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 20 21:28:00 GMT 2007
------- Comment #7 from kargl at gcc dot gnu dot org 2007-12-20 21:28 -------
A quick scan of intrinsics.c shows that dtime() is treated as an alias
to etime(). So, one needs to make dtime() a full-fledged intrinsic
procedure.
add_sym_1 ("etime", GFC_ISYM_ETIME, NO_CLASS, ACTUAL_NO, BT_REAL, 4,
GFC_STD_GNU, gfc_check_etime, NULL, NULL,
x, BT_REAL, 4, REQUIRED);
make_alias ("dtime", GFC_STD_GNU);
make_generic ("etime", GFC_ISYM_ETIME, GFC_STD_GNU);
Daniel, are you working on this PR?
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sgk at troutmask dot apl dot
| |washington dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34533
More information about the Gcc-bugs
mailing list