gcc/libgfortran/intrinsics
Janne Blomqvist b41b25345b re PR libfortran/15280 (Fortran9x commandline not accessable)
PR fortran/15280
	PR fortran/15665
	* gfortran.h (enum gfc_generic_isym_id): Add GFC_ISYM_IARGC and
	GFC_ISYM_COMMAND_ARGUMENT_COUNT.
	* intrinsic.c (add_functions):  Identify iargc.  Add
	command_argument_count.
	(add_subroutines): Resolve getarg.  Add get_command and
	get_command_argument.
	* intrinsic.h (gfc_resolve_getarg, gfc_resolve_get_command,
	gfc_resolve_get_command_argument): Add prototypes.
	* iresolve.c (gfc_resolve_getarg, gfc_resolve_get_command,
	gfc_resolve_get_command_argument): New functions.
	* trans-decl.c (gfor_fndecl_iargc): New variable.
	(gfc_build_intrinsic_function_decls): Set it.
	* trans-intrinsic.c (gfc_conv_intrinsic_iargc): New function.
	(gfc_conv_intrinsic_function): Use it.
	* trans.h (gfor_fndecl_iargc): Declare.
libgfortran/
	* libgfortran.h (gfc_strlen_type): Define.
	* intrinsics/args.c (getarg): Rename ...
	(getarg_i4): ... to this.
	(getarg_i8, get_command_argument_i4, get_command_argument_i8,
	get_command_i4, get_command_i8): New functions.

Co-Authored-By: Paul Brook <paul@codesourcery.com>

From-SVN: r84087
2004-07-04 17:00:12 +00:00
..
abort.c random.c: Include unistd.h for close and read prototypes... 2004-05-30 11:53:10 +02:00
args.c re PR libfortran/15280 (Fortran9x commandline not accessable) 2004-07-04 17:00:12 +00:00
associated.c re PR libfortran/15234 (libgfortran doesn't compile on Tru64 UNIX V4.0F) 2004-05-27 15:05:23 +02:00
c99_functions.c re PR libfortran/15292 (libgfortran depends on c99 functionality round and roundf) 2004-06-14 17:27:20 +00:00
cpu_time.c check.c (gfc_check_second_sub, [...]): New functions. 2004-06-12 17:34:47 +00:00
cshift0.c
date_and_time.c check.c (gfc_check_second_sub, [...]): New functions. 2004-06-12 17:34:47 +00:00
dprod_r8.f90
eoshift0.c
eoshift2.c
etime.c etime.c (etime_sub): Remove array rank check; Add check for sufficient space. 2004-06-21 22:25:12 +00:00
ishftc.c
pack_generic.c
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
reshape_packed.c
selected_kind.f90
size.c
spread_generic.c
string_intrinsics.c
system_clock.c check.c (gfc_check_system_clock): New function. 2004-05-22 12:47:42 +00:00
transpose_generic.c
unpack_generic.c