OSDN Git Service

* check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_rand
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2004 17:34:47 +0000 (17:34 +0000)
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 12 Jun 2004 17:34:47 +0000 (17:34 +0000)
commit041de113d1e6528521460bdef4687fa6cfae24c9
treea1452828cb51b5aff27e540fe28a2545fc15adb8
parent556d974c10227ca943ca4b03bd4760201b3fa922
* check.c (gfc_check_second_sub, gfc_check_irand, gfc_check_rand
gfc_check_srand, gfc_check_etime, gfc_check_etime_sub): New functions.
* gfortran.h (gfc_generic_isym_id): New symbols GFC_ISYM_ETIME,
GFC_ISYM_IRAND, GFC_ISYM_RAND, GFC_ISYM_SECOND.
* trans-intrinsic.c:  Use symbols.
* intrinsic.c (add_sym_2s): New function.
* intrinsic.c: Add etime, dtime, irand, rand, second, srand.
* intrinsic.h: Function prototypes.
* iresolve.c (gfc_resolve_etime_sub, gfc_resolve_second_sub
gfc_resolve_srand):  New functions.
libgfortran
* Makefile.am: Add rand.c and etime.c
* Makefile.in: Regenerated.
* aclocal.in: Regenerated.
* cpu_time.c (second_sub, second): New functions.
* rand.c (irand, rand, srand): New file.
* etime.c (etime_sub, etime): New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83034 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/gfortran.h
gcc/fortran/intrinsic.c
gcc/fortran/intrinsic.h
gcc/fortran/iresolve.c
gcc/fortran/trans-intrinsic.c
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/intrinsics/cpu_time.c
libgfortran/intrinsics/date_and_time.c [new file with mode: 0644]
libgfortran/intrinsics/etime.c [new file with mode: 0644]
libgfortran/intrinsics/rand.c [new file with mode: 0644]