[Bug fortran/91556] Problems with better interface checking
sgk at troutmask dot apl.washington.edu
gcc-bugzilla@gcc.gnu.org
Wed Aug 28 21:49:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
--- Comment #11 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Aug 28, 2019 at 09:34:36PM +0000, tkoenig at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91556
>
> multi.f90:2199:23:
>
> 2199 | call evolvePDF (x(1), q, f)
> | 1
> ......
> 2362 | call evolvePDF (momentum_fraction, GeV_scale, sea_pdf)
> | 2
> Error: Type mismatch between argument passed at (1) and previous call at (2)
> (REAL(8)/REAL(16))
>
> I suppose this would be a bit more helpful.
>
Yes, I think is is quite helpful. The word "previous" seems
odd with the locus pointers. (1) is the first call in line
2199, and (2) is next call in line 2362. I would say that
line 2199 contains the "previous" call. Perhaps,
Error: Type mismatch between argument passed at (1) and argument
passed at (2) (REAL(8)/REAL(16))
or
Error: Type mismatch between actual argument at (1) and actual
argument at (2) (REAL(8)/REAL(16))
More information about the Gcc-bugs
mailing list