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

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(Now: OpenACC spec issue #345)

I am not sure that a use as in attachment 50106 is really intended, namely:
placing the "acc routine" into a sibling procedure.

However, gfortran seems to reject too much – at least with the current wording.

The problem is that the diagnostic already happens at call time
(gfc_match_oacc_routine) which requires that the symbol has been encountered
before (during parsing) and the usage is such that it has to be in the current
scope and cannot be in the parent scope.

Reply via email to