For Fortran, if a variable is autoscoped by an __auto or default(__auto) clause and the variable has a predetermined scope according to the OpenMP Specification, then the compiler will scope it according to that predetermined scope.
For Fortran, the following variables have predetermined scopes:
Variables and common blocks appearing in threadprivate directives are threadprivate.
The loop iteration variable in the do-loop of a do or parallel do construct is private in that construct.
Variables used as loop iteration variables in sequential loops in a parallel construct are private in the parallel construct.
Implied DO or FORALL indices are private.
Cray pointees inherit the sharing attribute of the storage with which their Cray Fortran pointers are associated.