https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108850

kargls at comcast dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kargls at comcast dot net

--- Comment #5 from kargls at comcast dot net ---
(In reply to anlauf from comment #4)
> (In reply to anlauf from comment #3)
> > I have no idea how the above code tricks gfortran into thinking there is
> > a variable 'select' ...
> 
> It might be a bad interaction of the PUBLIC statement with parsing of
> BLOCK and contained statements, which is quite general.  Interchanging
> subroutines just hides the issue to the resolution.
> 

It's not just PUBLIC.  A PRIVATE statement has the same issue, and
suspect any attribute statement may have the problem.

Reply via email to