------- Comment #4 from kargl at gcc dot gnu dot org 2007-12-20 18:26 ------- (In reply to comment #3) > Another question: contrary to g77, we now have support for OpenMP. How about > concurrency issues? Shall DTIME give the time since the last invokation from > any thread, i.e. maintain a global storage, or the last invokation from the > same thread, i.e. thread local storage? >
I think gfortran will need to handle it similar to how random_seed is done. See libgfortran/intrinsics/random.c. In fact, one could potentially import the code from random.c into dtime with only a minimum effort (famaous last words). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34533