[flang][OpenMP] Move privatizations out of sections (#88191)
Besides duplicating code, privatizing variables in every section causes problems when synchronization barriers are used. This happens because each section is executed by a given thread, which will cause the program to hang if not all running threads execute the barrier operation. Fixes https://github.com/llvm/llvm-project/issues/72824
parent
9d9bd764
Please register or sign in to comment