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 cpu_time.c: Don't include headers already included by libgfortran.h. 2007-04-06 16:47:23 +00:00
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
ChangeLog re PR fortran/30964 (optional arguments to random_seed) 2007-08-12 20:45:29 +00:00
ChangeLog-2002 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2003 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
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
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
acinclude.m4 re PR libfortran/30015 ([4.1 only] Intrinsic date_and_time can go back in time) 2007-01-21 17:16:10 +01:00
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
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 acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. 2005-10-28 20:13:20 +00:00
fmain.c gfortran.h (gfc_option_t): Add flag_backtrace field. 2007-03-15 12:39:47 +00:00
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 re PR libfortran/27107 (Make dependency on io/io.h broken) 2007-01-17 19:44:00 +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-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00
mk-srk-inc.sh mk-sik-inc.sh: Use a temporary string instead of 'echo -n'. 2004-09-01 17:51:42 +00:00