gcc/libgfortran/caf
Andre Vehreschild 26ca6dbda2 Steve Kargl <kargl@gcc.gnu.org>
PR fortran/98301 - random_init() is broken

Correct implementation of random_init() when -fcoarray=lib is given.

gcc/fortran/ChangeLog:

	PR fortran/98301
	* trans-decl.c (gfc_build_builtin_function_decls): Move decl.
	* trans-intrinsic.c (conv_intrinsic_random_init): Use bool for
	lib-call of caf_random_init instead of logical (4-byte).
	* trans.h: Add tree var for random_init.

libgfortran/ChangeLog:

	PR fortran/98301
	* caf/libcaf.h (_gfortran_caf_random_init): New function.
	* caf/single.c (_gfortran_caf_random_init): New function.
	* gfortran.map: Added fndecl.
	* intrinsics/random_init.f90: Implement random_init.
2021-05-22 13:27:42 +02:00
..
libcaf.h Steve Kargl <kargl@gcc.gnu.org> 2021-05-22 13:27:42 +02:00
mpi.c Update copyright years. 2021-01-04 10:26:59 +01:00
single.c Steve Kargl <kargl@gcc.gnu.org> 2021-05-22 13:27:42 +02:00