This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,fortran] Fix corner case where consecutive calls to date_and_time can return times out of sequence (PR30015)


besides libgfortran, gettimeofday is currently used by
gcc/toplev.c, include/libiberty.h, libiberty/mkstemps.c,
libiberty/gettimeofday.c,
libjava/classpath/native/jni/java-lang/java_lang_VMSystem.c,
libmudflap/mf-runtime.c
and none of them uses a one-argument version of gettimeofday.

Now, that's a good argument!


2. As Andreas Schwab wrote, removing this configure test "would also
make it possible to eliminate a runtime configure check." [...] "Runtime
checks are bad for cross compiling."

But still better than not providing the functionality :)


Anyway, the first argument is very convincing. Your patch is thus OK to commit to mainline, and 4.2 after a one-week delay.

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]