[Patch, Fortran, OOP] PR 58175: Incorrect warning message on scalar finalizer

Janus Weil janus@gcc.gnu.org
Tue Nov 29 14:16:00 GMT 2016


Committed as r242960.



2016-11-28 14:36 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
> Hi all,
>
> the attached patch was posted on bugzilla by Tobias three years ago,
> but left unattended since then. It is simple, works well (fixing a
> bogus warning) and regtests cleanly on x86_64-linux-gnu.
>
> If no one objects, I will commit this to trunk by tomorrow.
>
> Cheers,
> Janus
>
>
>
> 2016-11-28  Tobias Burnus  <burnus@net-b.de>
>
>     PR fortran/58175
>     * resolve.c (gfc_resolve_finalizers): Properly detect scalar finalizers.
>
> 2016-11-28  Janus Weil  <janus@gcc.gnu.org>
>
>     PR fortran/58175
>     * gfortran.dg/finalize_30.f90: New test case.



More information about the Gcc-patches mailing list