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 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
date_and_time.c check.c (gfc_check_second_sub, [...]): New functions. 2004-06-12 17:34:47 +00:00
dprod_r8.f90 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
eoshift0.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
eoshift2.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
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 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
pack_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04: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_kind.f90 Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
size.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04: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/15204 (ADJUSTR intrinsic accesses corrupted pointer) 2004-05-13 10:11:02 +00:00
system_clock.c check.c (gfc_check_system_clock): New function. 2004-05-22 12:47:42 +00:00
transpose_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00
unpack_generic.c Merge tree-ssa-20020619-branch into mainline. 2004-05-13 02:41:07 -04:00