diff options
author | Mikael Morin <mikael.morin@sfr.fr> | 2011-09-08 17:18:20 +0200 |
---|---|---|
committer | Mikael Morin <mikael@gcc.gnu.org> | 2011-09-08 15:18:20 +0000 |
commit | a1ae4f435fc547fcae4bf04b6c4efcc310328b3e (patch) | |
tree | 3fe0a789a4305072f3743a49b20ff9f34193c138 /gcc/fortran/trans-array.h | |
parent | 66877276157c3ac8210d943054620d509b8ff5c4 (diff) | |
download | gcc-a1ae4f435fc547fcae4bf04b6c4efcc310328b3e.zip gcc-a1ae4f435fc547fcae4bf04b6c4efcc310328b3e.tar.gz gcc-a1ae4f435fc547fcae4bf04b6c4efcc310328b3e.tar.bz2 |
trans-array.h (gfc_get_temp_ss): New prototype.
2011-09-08 Mikael Morin <mikael.morin@sfr.fr>
* trans-array.h (gfc_get_temp_ss): New prototype.
* trans-array.c (gfc_get_temp_ss): New function.
(gfc_conv_resolve_dependencies): Re-use gfc_get_temp_ss.
(gfc_conv_expr_descriptor): Ditto.
* trans-expr.c (gfc_conv_subref_array_arg): Ditto.
From-SVN: r178696
Diffstat (limited to 'gcc/fortran/trans-array.h')
-rw-r--r-- | gcc/fortran/trans-array.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fortran/trans-array.h b/gcc/fortran/trans-array.h index 26d02ec..e2718b2 100644 --- a/gcc/fortran/trans-array.h +++ b/gcc/fortran/trans-array.h @@ -89,6 +89,8 @@ void gfc_mark_ss_chain_used (gfc_ss *, unsigned); void gfc_free_ss_chain (gfc_ss *); /* Allocate a new array type ss. */ gfc_ss *gfc_get_array_ss (gfc_ss *, gfc_expr *, int, gfc_ss_type); +/* Allocate a new temporary type ss. */ +gfc_ss *gfc_get_temp_ss (tree, tree, int); /* Calculates the lower bound and stride of array sections. */ void gfc_conv_ss_startstride (gfc_loopinfo *); |