[Patch, Fortran, F03] PR 54949: abstract procedure pointers not rejected
Tobias Burnus
burnus@net-b.de
Mon Dec 16 21:11:00 GMT 2013
Janus Weil wrote:
> attached is a close-to-trivial patch which rejects the declaration of
> 'abstract procedure pointers' (which is not a valid Fortran concept),
> and thereby fixes an ICE-on-invalid.
>
> Regtested on x86_64-unknown-linux-gnu. Ok for trunk?
Looks good to me. Thanks for the patch!
> [In principle the ICE is a regression, but I don't think the patch is
> worth backporting.]
I concur.
Tobias
> 2013-12-16 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/54949
> * symbol.c (check_conflict): Forbid abstract procedure pointers.
> (gfc_add_abstract): Check for attribute conflicts.
>
>
> 2013-12-16 Janus Weil <janus@gcc.gnu.org>
>
> PR fortran/54949
> * gfortran.dg/proc_ptr_44.f90: New.
More information about the Fortran
mailing list