diff options
author | Francois-Xavier Coudert <coudert@clipper.ens.fr> | 2006-07-30 22:48:00 +0200 |
---|---|---|
committer | François-Xavier Coudert <fxcoudert@gcc.gnu.org> | 2006-07-30 20:48:00 +0000 |
commit | a119fc1ca825952bcf82337a48eeef3645ec4e8d (patch) | |
tree | 42900f38bd309eacda612a5027a33176a6f75fb0 /libgfortran/config.h.in | |
parent | bd11bebe1b23ef6604982e3bc4e64e7f3adda83b (diff) | |
download | gcc-a119fc1ca825952bcf82337a48eeef3645ec4e8d.zip gcc-a119fc1ca825952bcf82337a48eeef3645ec4e8d.tar.gz gcc-a119fc1ca825952bcf82337a48eeef3645ec4e8d.tar.bz2 |
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
Diffstat (limited to 'libgfortran/config.h.in')
-rw-r--r-- | libgfortran/config.h.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libgfortran/config.h.in b/libgfortran/config.h.in index 573c093..11f8e72 100644 --- a/libgfortran/config.h.in +++ b/libgfortran/config.h.in @@ -6,6 +6,9 @@ /* Define to 0 if the target shouldn't use #pragma weak */ #undef GTHREAD_USE_WEAK +/* Define to 1 if you have the `access' function. */ +#undef HAVE_ACCESS + /* libm includes acos */ #undef HAVE_ACOS @@ -279,6 +282,9 @@ /* libm includes erfl */ #undef HAVE_ERFL +/* Define to 1 if you have the `execl' function. */ +#undef HAVE_EXECL + /* libm includes exp */ #undef HAVE_EXP @@ -321,6 +327,9 @@ /* libm includes floorl */ #undef HAVE_FLOORL +/* Define to 1 if you have the `fork' function. */ +#undef HAVE_FORK + /* Define if you have fpsetmask. */ #undef HAVE_FPSETMASK @@ -582,6 +591,9 @@ /* Define to 1 if you have the <sys/types.h> header file. */ #undef HAVE_SYS_TYPES_H +/* Define to 1 if you have the <sys/wait.h> header file. */ +#undef HAVE_SYS_WAIT_H + /* libm includes tan */ #undef HAVE_TAN @@ -630,6 +642,9 @@ /* Define if target can unlink open files. */ #undef HAVE_UNLINK_OPEN_FILE +/* Define to 1 if you have the `wait' function. */ +#undef HAVE_WAIT + /* Define if target has a reliable stat. */ #undef HAVE_WORKING_STAT |