Hi all,

here is a simple patch which fixes some problems with IMPLICT
CLASS(...) statements. Actually that's not a feature I would seriously
recommend anyone to use, but the Fortran standard allows it, so I
guess we should better support it ;)

The short patch attached here replaces all previous draft patches in
the PR and simultaneously fixes both comment 0 and 1. Regtested on
x86_64-unknown-linux-gnu. Ok for trunk?

Cheers,
Janus


2013-03-20  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/56500
    * symbol.c (gfc_set_default_type): Build class container for
    IMPLICIT CLASS.

2013-03-20  Janus Weil  <ja...@gcc.gnu.org>

    PR fortran/56500
    * gfortran.dg/implicit_class_1.f90: New.

Attachment: pr56500_v4.diff
Description: Binary data

Attachment: implicit_class_1.f90
Description: Binary data

Reply via email to