On 09/17/2012 01:39 PM, Janus Weil wrote:
here is another proc-ptr patch, which allows to submit calls to
procedure-pointer components which have a procedure-pointer result.
This sounds a bit twisted (and I guess one has to suffer from some

Regtested on x86_64-unknown-linux-gnu. Ok for trunk?

Looks OK. Thanks for the patch.

Tobias

2012-09-17  Janus Weil  <ja...@gcc.gnu.org>

        PR fortran/54285
        * expr.c (gfc_check_pointer_assign): Correctly handle procedure pointers
        as function results.
        * primary.c (gfc_match_varspec): Allow to call a PPC with proc-ptr
        result.

2012-09-17  Janus Weil  <ja...@gcc.gnu.org>

        PR fortran/54285
        * gfortran.dg/proc_ptr_result_7.f90: New.

Reply via email to