gcc/libgfortran
Francois-Xavier Coudert 34b4bc5c61 re PR fortran/30964 (optional arguments to random_seed)
PR fortran/30964
	PR fortran/33054

	* trans-expr.c (gfc_conv_function_call): When no formal argument
	list is available, we still substitute missing optional arguments.
	* check.c (gfc_check_random_seed): Correct the check on the
	number of arguments to RANDOM_SEED.
	* intrinsic.c (add_subroutines): Add a resolution function to
	RANDOM_SEED.
	* iresolve.c (gfc_resolve_random_seed): New function.
	* intrinsic.h (gfc_resolve_random_seed): New prototype.

	* intrinsics/random.c (random_seed): Rename into random_seed_i4.
	(random_seed_i8): New function.
	* gfortran.map (GFORTRAN_1.0): Remove _gfortran_random_seed,
	add _gfortran_random_seed_i4 and _gfortran_random_seed_i8.
	* libgfortran.h (iexport_proto): Replace random_seed by
	random_seed_i4 and random_seed_i8.
	* runtime/main.c (init): Call the new random_seed_i4.

	* gfortran.dg/random_4.f90: New test.
	* gfortran.dg/random_5.f90: New test.
	* gfortran.dg/random_6.f90: New test.
	* gfortran.dg/random_7.f90: New test.

From-SVN: r127383
2007-08-12 20:45:29 +00:00
..
config
generated re PR libfortran/32336 (matmul: flag runtime- instead of assertation error) 2007-07-09 22:34:43 +00:00
intrinsics re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
io re PR fortran/33039 (Read NAMELIST: reads wrong namelist name) 2007-08-10 12:36:01 +00:00
m4 re PR libfortran/32336 (matmul: flag runtime- instead of assertation error) 2007-07-09 22:34:43 +00:00
runtime re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
acinclude.m4
aclocal.m4 Regenerate aclocal.m4 in boehm-gc, libffi, libgfortran, libgomp, 2007-07-05 10:54:10 -07:00
c99_protos.h re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-05 22:14:34 +00:00
ChangeLog re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2005 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
ChangeLog-2006 re PR libfortran/31286 (cshift uses uninitialized variables) 2007-04-18 08:47:28 +00:00
config.h.in re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure.ac re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
configure.host
fmain.c
gfortran.map re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
libgfortran.h re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
libtool-version
Makefile.am [multiple changes] 2007-07-02 02:47:21 +00:00
Makefile.in re PR fortran/31202 (Incorrect rounding generated for NINT) 2007-08-03 21:26:10 +00:00
mk-kinds-h.sh re PR fortran/32627 ([ISO Bind C] Accept c_f_pointer for TYPE) 2007-07-21 23:45:44 +00:00
mk-sik-inc.sh
mk-srk-inc.sh