Legacy f77 code often uses equivalence statements between array elements and common members extensively, e.g.:
When parallelizing such code with OpenMP one would aspire to achieve this with the following pragma:
!$omp threadprivate(/GCPARM/, PACUTS)
OpenMP specification states that common members and variables with the threadprivate specifier must not be present in equivalence statements.
The proposed extension would lift this restriction for cases when the equivalence is requested among variables that are all threadprivate within the same compilation unit.
Closing this as dupe as the other PR has the same plus additional information.
*** This bug has been marked as a duplicate of 38979 ***