[Bug libfortran/32812] random_seed and date_and_time
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Aug 10 19:24:00 GMT 2007
------- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-08-10 19:23 -------
(In reply to comment #3)
> UGH.
>
> I'd rather document gfortran's behavior than add additional hacks
> into the compiler.
Hum, I was of the same opinion at first. What somehow convinced me that it
might be worth the price is that the use of DATE_AND_TIME to initialize the
random seed is actually in the Metcalf book. There is a nice chance that it
will end up in most user codes.
But, as you said, it's a hack, I'm not submitting a patch yet. I'd like to have
Thomas' opinion first.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32812
More information about the Gcc-bugs
mailing list