This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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] PR 60507: Passing function call into procedure argument not caught


Janus Weil wrote:
here is a patch to improve diagnostics for dummy procedures. Regtested
on x86_64-unknown-linux-gnu. Ok for trunk?

Looks good to me. Thanks for the patch!

Tobias

2014-12-29  Janus Weil  <janus@gcc.gnu.org>

     PR fortran/60507
     * interface.c (is_procptr_result): New function to check if an
     expression is a procedure-pointer result.
     (compare_actual_formal): Use it.

2014-12-29  Janus Weil  <janus@gcc.gnu.org>

     PR fortran/60507
     * gfortran.dg/dummy_procedure_11: New.


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