diff options
author | Mikael Morin <mikael@gcc.gnu.org> | 2012-02-12 15:22:34 +0000 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2012-02-12 15:22:34 +0000 |
commit | dec131b6add752c0d71cb6720de4ab154bf72411 (patch) | |
tree | fb0fa263d8f3e8b171badc6c2396f4e6ae613ff0 /gcc/fortran/trans-array.h | |
parent | 3e4c98438ac27de89320fd253c3ea3d484b6a413 (diff) | |
download | gcc-dec131b6add752c0d71cb6720de4ab154bf72411.zip gcc-dec131b6add752c0d71cb6720de4ab154bf72411.tar.gz gcc-dec131b6add752c0d71cb6720de4ab154bf72411.tar.bz2 |
trans-array.c (gfc_walk_elemental_function_args, [...]): Move call to gfc_get_proc_ifc_for_expr out of gfc_walk_elemental_function_args.
* trans-array.c (gfc_walk_elemental_function_args,
gfc_walk_function_expr): Move call to gfc_get_proc_ifc_for_expr out
of gfc_walk_elemental_function_args.
* trans-stmt.c (gfc_trans_call): Ditto.
* trans-array.h (gfc_get_proc_ifc_for_expr): New prototype.
(gfc_walk_elemental_function_args): Update prototype.
From-SVN: r184141
Diffstat (limited to 'gcc/fortran/trans-array.h')
-rw-r--r-- | gcc/fortran/trans-array.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fortran/trans-array.h b/gcc/fortran/trans-array.h index 6ca630e..9bafb94 100644 --- a/gcc/fortran/trans-array.h +++ b/gcc/fortran/trans-array.h @@ -66,6 +66,8 @@ void gfc_trans_deferred_array (gfc_symbol *, gfc_wrapped_block *); /* Generate an initializer for a static pointer or allocatable array. */ void gfc_trans_static_array_pointer (gfc_symbol *); +/* Get the procedure interface for a function call. */ +gfc_symbol *gfc_get_proc_ifc_for_expr (gfc_expr *); /* Generate scalarization information for an expression. */ gfc_ss *gfc_walk_expr (gfc_expr *); /* Workhorse for gfc_walk_expr. */ @@ -74,7 +76,7 @@ gfc_ss *gfc_walk_subexpr (gfc_ss *, gfc_expr *); gfc_ss *gfc_walk_array_ref (gfc_ss *, gfc_expr *, gfc_ref * ref); /* Walk the arguments of an elemental function. */ gfc_ss *gfc_walk_elemental_function_args (gfc_ss *, gfc_actual_arglist *, - gfc_expr *, gfc_ss_type); + gfc_symbol *, gfc_ss_type); /* Walk an intrinsic function. */ gfc_ss *gfc_walk_intrinsic_function (gfc_ss *, gfc_expr *, gfc_intrinsic_sym *); |