[Patch, Fortran] PR 60507: Passing function call into procedure argument not caught

Tobias Burnus burnus@net-b.de
Wed Dec 31 18:50:00 GMT 2014


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.



More information about the Gcc-patches mailing list