This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR66257 [5/6 regression] elemental typebound calls rejected as actual argument
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Mikael Morin <mikael dot morin at sfr dot fr>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Sun, 24 May 2015 13:24:54 +0200
- Subject: Re: [Patch, fortran] PR66257 [5/6 regression] elemental typebound calls rejected as actual argument
- Authentication-results: sourceware.org; auth=none
- References: <5560F288 dot 5080800 at sfr dot fr>
Hi Mikael,
Yes, that's fine for 5 and 6.
Thanks for the patch.
Paul
On 23 May 2015 at 23:35, Mikael Morin <mikael.morin@sfr.fr> wrote:
> Hello,
>
> For PR 63727, a check was introduced, rejecting procedure pointer
> components used as actual arguments:
> foo(obj%proc_comp)
> but it had the side effect of also rejecting
> foo(obj%proc_comp(arg))
>
> Fixed by the attached patch.
> Tested on x86_64-linux. OK for 6/5 ?
>
> Mikael
>
>
>
--
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.
Groucho Marx