This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, OOP] PR 56500: "IMPLICIT CLASS(...)" wrongly rejected
Ping!
(I hope I didn't "anti-advertise" this patch too much ;)
2013/3/20 Janus Weil <janus@gcc.gnu.org>:
> 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 <janus@gcc.gnu.org>
>
> PR fortran/56500
> * symbol.c (gfc_set_default_type): Build class container for
> IMPLICIT CLASS.
>
> 2013-03-20 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/56500
> * gfortran.dg/implicit_class_1.f90: New.