Steve,

First, it is needed to remove the line

  mpz_t put_size, get_size;

in gcc/fortran/check.c, otherwise compiling the file with -Werror
(default) fails.

Second, the patch breaks the interface of RANDOM_SEED(GET/PUT...)
as shown for gfortran.dg/random_seed_1.f90 and the original test
in pr52879. This likely makes the patch stage 1 material.

AFAIU my tests in pr52879, comment 1, the generated sequence for real
does not depend on the four first integers. From a user point of view,
this surprising (may be undocumented, I did not check).

So I think the seed generation should keep the present properties
and only add a way to randomize the 12 integers.

Thanks for working on it.

Dominique

Reply via email to