Random seed initialization
Janus Weil
janus@gcc.gnu.org
Sat Apr 6 16:25:00 GMT 2013
> These are the results:
>
> 1. Cygwin GCC-4.5.3 (official release)
>
> $ gfortran test_system_clock.f90 -o test_system_clock.out
>
> $ ./test_system_clock.out
> 1611644036 1000 2147483647
> 1031299625 1000000 2147483647
>
>
> 2. GCC-4.9 (my build)
>
> $ gfortran-4.9 test_system_clock.f90 -o test_system_clock.out
>
> $ ./test_system_clock.out
> 0 1000 2147483647
> 63136 1000000000 9223372036854775807
>
> BTW, I had only a previous build of 4.8-20130310, but it gives the same
> results of 4.9.
Huh, that leaves the question whether it is really a regression in
GCC, or just a problem with your home-grown build.
According to http://cygwin.com/packages/gcc4/ there should be a 4.7.2
build of GCC available in Cygwin. Would it be possible for you to try
that?
Cheers,
Janus
More information about the Fortran
mailing list