]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/gfortran.h
check.c (gfc_check_second_sub, [...]): New functions.
authorSteven G. Kargl <kargls@comcast.net>
Sat, 12 Jun 2004 17:34:47 +0000 (17:34 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 12 Jun 2004 17:34:47 +0000 (17:34 +0000)
commit2bd749490845f2edc7de74dca4b29fd7d7698dff
treea1452828cb51b5aff27e540fe28a2545fc15adb8
parentb08eae928826bd8474cd30a33949af242dfc400c
check.c (gfc_check_second_sub, [...]): New functions.

* 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.

From-SVN: r83034
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]