Now committed to trunk with the suggested fixes. Thanks for the quick review.
Kwok On 13/10/2020 7:36 pm, Jakub Jelinek wrote:
I'd suggest to #define gomp_supported_active_levels INT_MAX in libgomp.h and leave out the const variable. Another possibility is an enumerator, but we don't include limits.h in libgomp.h. OMP_5.0 symbol version has been shipped already in GCC 9. So we should never add any further symbols to it. Thus it needs to be added to OMP_5.0.1 symbol version instead (which is new in GCC 11). Otherwise LGTM.