+2014-09-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/63331
+ * trans-types.c (gfc_get_array_descr_info): Build DEBUG_EXPR_DECL
+ instead of VAR_DECL for base_decl.
+
2014-09-21 Jan Hubicka <hubicka@ucw.cz>
* openmp.c (omp_context): Rename to ...
base_decl = GFC_TYPE_ARRAY_BASE_DECL (type, indirect);
if (!base_decl)
{
- base_decl = build_decl (input_location, VAR_DECL, NULL_TREE,
- indirect ? build_pointer_type (ptype) : ptype);
+ base_decl = make_node (DEBUG_EXPR_DECL);
+ DECL_ARTIFICIAL (base_decl) = 1;
+ TREE_TYPE (base_decl) = indirect ? build_pointer_type (ptype) : ptype;
+ DECL_MODE (base_decl) = TYPE_MODE (TREE_TYPE (base_decl));
GFC_TYPE_ARRAY_BASE_DECL (type, indirect) = base_decl;
}
info->base_decl = base_decl;
+2014-09-23 Jakub Jelinek <jakub@redhat.com>
+
+ PR fortran/63331
+ * gfortran.dg/pr63331.f90: New test.
+
2014-09-24 Renlin Li <renlin.li@arm.com>
* gcc.dg/ira-shrinkwrap-prep-1.c: Enable aarch64.