gcc/libgfortran
Francois-Xavier Coudert a119fc1ca8 intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT.
* intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT.
	(add_subroutines): Add LTIME, GMTIME and CHMOD.
	* intrinsic.h (gfc_check_access_func, gfc_check_chmod,
	gfc_check_chmod_sub, gfc_check_ltime_gmtime, gfc_simplify_rshift,
	gfc_simplify_lshift, gfc_resolve_access, gfc_resolve_chmod,
	gfc_resolve_rshift, gfc_resolve_lshift, gfc_resolve_chmod_sub,
	gfc_resolve_gmtime, gfc_resolve_ltime): Add prototypes.
	* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_ACCESS,
	GFC_ISYM_CHMOD, GFC_ISYM_LSHIFT, GFC_ISYM_RSHIFT.
	* iresolve.c (gfc_resolve_access, gfc_resolve_chmod,
	gfc_resolve_rshift, gfc_resolve_lshift, gfc_resolve_chmod_sub,
	gfc_resolve_gmtime, gfc_resolve_ltime): New functions.
	* check.c (gfc_check_access_func, gfc_check_chmod,
	gfc_check_chmod_sub, gfc_check_ltime_gmtime): New functions.
	* trans-intrinsic.c (gfc_conv_intrinsic_rlshift): New function.
	(gfc_conv_intrinsic_function): Add cases for the new GFC_ISYM_*.

	* intrinsics/date_and_time.c: Add functions for GMTIME and LTIME.
	* intrinsics/access.c: New file.
	* intrinsics/chmod.c: New file.
	* configure.ac: Add checks for <sys/wait.h>, access, fork,execl
	and wait.
	* Makefile.am: Add new files intrinsics/access.c and
	intrinsics/chmod.c.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* Makefile.in: Regenerate.

	* gcc/testsuite/gfortran.dg/chmod_3.f90: New test.
	* gcc/testsuite/gfortran.dg/ltime_gmtime_1.f90: New test.
	* gcc/testsuite/gfortran.dg/ltime_gmtime_2.f90: New test.
	* gcc/testsuite/gfortran.dg/lrshift_1.f90: New test.
	* gcc/testsuite/gfortran.dg/chmod_1.f90: New test.
	* gcc/testsuite/gfortran.dg/chmod_2.f90: New test.

From-SVN: r115825
2006-07-30 20:48:00 +00:00
..
config fpu-387.h: Use previously added SSE code in all cases, as it really is the right thing to do. 2006-04-01 21:24:24 +00:00
generated re PR libfortran/27919 (dot_product should be removed from the library) 2006-07-19 19:51:49 +03:00
intrinsics intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
io transfer.c (transfer_array): Remove stride0 fix. 2006-07-30 13:23:26 +03:00
m4 re PR libfortran/27919 (dot_product should be removed from the library) 2006-07-19 19:51:49 +03:00
runtime re PR libfortran/27704 (Incorrect runtime error on multiple OPEN) 2006-07-04 01:36:31 +00:00
acinclude.m4
aclocal.m4 configure.ac: Remove AC_FUNC_MMAP. 2006-05-26 22:12:08 +03:00
c99_protos.h re PR libfortran/24432 (Missing symbols) 2005-10-19 09:45:27 +00:00
ChangeLog transfer.c (transfer_array): Remove stride0 fix. 2006-07-30 13:23:26 +03: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 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
ChangeLog-2005 * Split the ChangeLog into years. 2006-01-01 17:14:35 +00:00
config.h.in intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure.ac intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
configure.host
fmain.c
libgfortran.h re PR libfortran/25289 (Cannot handle record numbers large than huge(0_4)) 2006-07-24 00:17:52 +00:00
libtool-version etime.c: Remove etime_ 2006-07-15 16:12:15 +00:00
Makefile.am intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
Makefile.in intrinsic.c (add_functions): Add ACCESS, CHMOD, RSHIFT, LSHIFT. 2006-07-30 20:48:00 +00:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh