This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran] PR 60507: Passing function call into procedure argument not caught
- From: Janus Weil <janus at gcc dot gnu dot org>
- To: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 31 Dec 2014 18:41:16 +0100
- Subject: Re: [Patch, Fortran] PR 60507: Passing function call into procedure argument not caught
- Authentication-results: sourceware.org; auth=none
- References: <CAKwh3qhP7KPMbORNABj8X0Zjpr1TQsL990EGpC35ei=FHEjrhg at mail dot gmail dot com>
(early) ping!
2014-12-29 13:50 GMT+01:00 Janus Weil <janus@gcc.gnu.org>:
> Hi all,
>
> here is a patch to improve diagnostics for dummy procedures. Regtested
> on x86_64-unknown-linux-gnu. Ok for trunk?
>
> Cheers,
> Janus
>
>
>
> 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.