This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, fortran] PR87127 - External function not recognised from within an associate block
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Dominique d'Humières <dominiq at lps dot ens dot fr>
- Cc: gfortran <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 31 Mar 2019 12:11:50 +0000
- Subject: Re: [Patch, fortran] PR87127 - External function not recognised from within an associate block
- References: <4ACD461D-7BE6-4EE0-A250-A516181C39A7@lps.ens.fr>
Hi Dominique,
I discovered the same thing myself this morning. The patch was
developed on 8-branch because my working trunk had a hefty patch in an
intermediate state of development. I cleared it off,ready to do the
commit, and discovered the change on regtesting. I am trying to think
of a way in which to distinguish the two cases.
Thanks
Paul
On Sun, 31 Mar 2019 at 10:33, Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>
> Hi Paul,
>
> With your patch the error for the test gfortran.dg/pr88376.f90 is changed from
>
> Error: 'n' at (1) is not a function
>
> to
>
> Error: Specification function 'n' at (1) must be PURE
>
> TIA
>
> Dominique
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein