aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2005-10-25 20:43:22 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2005-10-25 20:43:22 +0200
commitb122dc6a9ab39f2bd75fbf712013b89ff5a71af8 (patch)
tree880f2c237699194e84e6f6e4ece0b041f60f2e4e /gcc/fortran/trans-array.c
parent910450c13f863770bb095264d2ad17b47befce48 (diff)
downloadgcc-b122dc6a9ab39f2bd75fbf712013b89ff5a71af8.zip
gcc-b122dc6a9ab39f2bd75fbf712013b89ff5a71af8.tar.gz
gcc-b122dc6a9ab39f2bd75fbf712013b89ff5a71af8.tar.bz2
trans.h (gfc_conv_cray_pointee): Remove.
* trans.h (gfc_conv_cray_pointee): Remove. * trans-expr.c (gfc_conv_variable): Revert 2005-10-24 change. * trans-array.c (gfc_conv_array_parameter): Likewise. * trans-decl.c (gfc_conv_cray_pointee): Remove. (gfc_finish_cray_pointee): New function. (gfc_finish_var_decl): Use it. Don't return early for Cray pointees. (gfc_create_module_variable): Revert 2005-10-24 change. * decl.c (cray_pointer_decl): Update comment. * gfortran.texi: Don't mention Cray pointees aren't visible in the debugger. * symbol.c (check_conflict): Add conflict between cray_pointee and in_common resp. in_equivalence. * resolve.c (resolve_equivalence): Revert 2005-10-24 change. testsuite/ * gfortran.dg/cray_pointers_4.f90: New test. * module.c (ab_attribute): Add AB_CRAY_POINTER and AB_CRAY_POINTEE. (attr_bits): Likewise. (mio_symbol_attribute): Save and restore cray_pointe{r,e} attributes. (mio_symbol): For cray_pointee write/read cp_pointer reference. testsuite/ * gfortran.dg/cray_pointers_5.f90: New test. From-SVN: r105891
Diffstat (limited to 'gcc/fortran/trans-array.c')
-rw-r--r--gcc/fortran/trans-array.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/fortran/trans-array.c b/gcc/fortran/trans-array.c
index 1a09121..72669f8 100644
--- a/gcc/fortran/trans-array.c
+++ b/gcc/fortran/trans-array.c
@@ -4083,13 +4083,8 @@ gfc_conv_array_parameter (gfc_se * se, gfc_expr * expr, gfc_ss * ss, int g77)
&& expr->ref->u.ar.type == AR_FULL && g77)
{
sym = expr->symtree->n.sym;
+ tmp = gfc_get_symbol_decl (sym);
- /* Check to see if we're dealing with a Cray Pointee. */
- if (sym->attr.cray_pointee)
- tmp = gfc_conv_cray_pointee (sym);
- else
- tmp = gfc_get_symbol_decl (sym);
-
if (sym->ts.type == BT_CHARACTER)
se->string_length = sym->ts.cl->backend_decl;
if (!sym->attr.pointer && sym->as->type != AS_ASSUMED_SHAPE