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  <ja...@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  <ja...@gcc.gnu.org>

     PR fortran/54949
     * gfortran.dg/proc_ptr_44.f90: New.

Reply via email to