https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70260
Harald Anlauf <anlauf at gmx dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gmx dot de
--- Comment #4 from Harald Anlauf <anlauf at gmx dot de> ---
(In reply to Gerhard Steinmetz from comment #1)
> Another situation :
>
>
> $ cat z3.f90
> subroutine s (f)
> integer, external :: f, g
> integer :: h
> g = f(2)
> h = g(2)
> end
Commenting out the assignment to h, I get:
% gfc-trunk pr70260-z3.f90
pr70260-z3.f90:4:3:
g = f(2)
1
Error: 'g' in variable definition context (assignment) at (1) is not a variable