This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran, F03] PR 54949: abstract procedure pointers not rejected


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]