+2009-08-16 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/40851
+ * resolve.c (resolve_symbol): Do not initialize pointer
+ * derived-types.
+ * trans-decl.c (init_intent_out_dt): Ditto.
+ (generate_local_decl): No need to set attr.referenced for DT pointers.
+
2009-08-04 Release Manager
* GCC 4.3.4 released.
if ((!a->save && !a->dummy && !a->pointer
&& !a->in_common && !a->use_assoc
&& !(a->function && sym != sym->result))
- || (a->dummy && a->intent == INTENT_OUT))
+ || (a->dummy && a->intent == INTENT_OUT && !a->pointer))
apply_default_init (sym);
}
}
gfc_init_block (&fnblock);
for (f = proc_sym->formal; f; f = f->next)
if (f->sym && f->sym->attr.intent == INTENT_OUT
- && f->sym->ts.type == BT_DERIVED)
+ && !f->sym->attr.pointer
+ && f->sym->ts.type == BT_DERIVED)
{
if (f->sym->ts.derived->attr.alloc_comp)
{
automatic lengths. */
if (sym->attr.dummy && !sym->attr.referenced
&& sym->ts.type == BT_DERIVED
+ && !sym->attr.pointer
&& sym->ts.derived->attr.alloc_comp
&& sym->attr.intent == INTENT_OUT)
{
+2009-08-16 Tobias Burnus <burnus@net-b.de>
+
+ PR fortran/40851
+ * gfortran.dg/derived_init_3.f90: New test.
+
2009-08-14 Uros Bizjak <ubizjak@gmail.com>
Backport from mainline:
* gfortran.dg/default_format_denormal_1.f90: XFAIL on alpha.
2009-08-13 Richard Guenther <rguenther@suse.de>
-
+
PR rtl-optimization/41033
* gcc.dg/pr41033.c: New test.