gcc/libgfortran/intrinsics
Tobias Schlüter 5b1374e965 re PR fortran/17776 (no subroutine system)
fortran/
PR fortran/17776
* check.c (gfc_check_system_sub): New function.
* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SYSTEM.
* intrinsic.c (add_functions): Add 'system'.
(add_subroutines): Add 'system'.
* intrinsic.h (gfc_check_etime_sub, gfc_check_getcwd_sub):
Move prototypes to other suborutines.
(gfc_check_system_sub, gfc_resolve_system, gfc_resolve_system_sub):
Add prototype.
(gfc_resolve_system_clock): Fix formatting of prototype.
* iresolve.c (gfc_resolve_system, gfc_resolve_system_sub): New
functions.
* trans-intrinsic.c (gfc_conv_intrinsic_function): Deal with
GFC_ISYM_SYSTEM.

libgfortran/
PR fortran/17776
* intrinsics/system.c: New file.
* Makefile.am: Add dependency for the new file.
* Makefile.in: Regenerate.

From-SVN: r88532
2004-10-04 23:30:32 +02:00
..
abort.c abort.c ("libgfortran.h"): Move. 2004-10-03 12:04:15 +00:00
args.c trans-decl.c, [...]: Replace all occurences of 'gfc_strlen_type_node' by 'gfc_charlen_type_node'. 2004-08-31 16:06:48 +02:00
associated.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-27 15:05:23 +02:00
bessel.c bessel.c: New file. 2004-08-29 16:31:16 +00:00
c99_functions.c re PR libfortran/16137 (Fortran compiler unable to produce executables as libfortran depends on C99 math functions) 2004-09-26 16:52:04 +02:00
cpu_time.c check.c (gfc_check_second_sub, [...]): New functions. 2004-06-12 17:34:47 +00:00
cshift0.c cshift0.c (DEF_COPY_LOOP, [...]): New. 2004-09-03 12:03:43 -07:00
date_and_time.c abort.c ("libgfortran.h"): Move. 2004-10-03 12:04:15 +00:00
dprod_r8.f90 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
env.c libgfortran.h: define gfc_alloca() 2004-09-21 14:38:34 +02:00
eoshift0.c matmul.m4, [...]: Allocate space if return value has NULL in its data field. 2004-08-09 14:34:39 +00:00
eoshift2.c matmul.m4, [...]: Allocate space if return value has NULL in its data field. 2004-08-09 14:34:39 +00:00
erf.c bessel.c: New file. 2004-08-29 16:31:16 +00:00
etime.c * intrinsics/etime.c (etime_): New function. 2004-09-24 18:49:10 +02:00
getXid.c gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_GET?ID. 2004-08-28 23:43:41 +00:00
getcwd.c check.c (gfc_check_getcwd_sub): New function. 2004-09-15 14:09:17 +00:00
ishftc.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
pack_generic.c re PR fortran/17283 (UNPACK issues) 2004-10-04 21:27:29 +02:00
rand.c rand.c (rand): Wrap the irand() call from the previous commit in prefix. 2004-06-30 08:21:54 +00:00
random.c Makefile.am (gfor_helper_src): Add runtime/normalize.f90. 2004-06-13 22:58:30 +00:00
reshape_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
reshape_packed.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
selected_int_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
selected_real_kind.f90 Makefile.am (gfor_helper_src): Split selected_kind.f90. 2004-08-30 14:34:37 -07:00
size.c * libgfortran.h (array_t, size0) New declarations. 2004-08-04 14:30:46 +00:00
spread_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
string_intrinsics.c re PR libfortran/17164 (index function not working properly) 2004-08-25 00:14:07 +00:00
system.c re PR fortran/17776 (no subroutine system) 2004-10-04 23:30:32 +02:00
system_clock.c check.c (gfc_check_system_clock): New function. 2004-05-22 12:47:42 +00:00
transpose_generic.c matmul.m4, [...]: Allocate space if return value has NULL in its data field. 2004-08-09 14:34:39 +00:00
unpack_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00