Blame SOURCES/gcc-workaround.patch

e10828
diff -ruN openmp-14.0.0.src.orig/runtime/src/kmp_lock.cpp openmp-14.0.0.src/runtime/src/kmp_lock.cpp
e10828
--- a/openmp-14.0.0.src.orig/runtime/src/kmp_lock.cpp	2022-03-14 10:44:55.000000000 +0100
e10828
+++ b/openmp-14.0.0.src/runtime/src/kmp_lock.cpp	2022-04-22 10:58:26.736078432 +0200
e10828
@@ -2663,7 +2663,7 @@
e10828
 }
e10828
 
e10828
 // Truncated binary exponential backoff function
e10828
-void __kmp_spin_backoff(kmp_backoff_t *boff) {
e10828
+void __attribute__((optimize("O1"))) __kmp_spin_backoff(kmp_backoff_t *boff) {
e10828
   // We could flatten this loop, but making it a nested loop gives better result
e10828
   kmp_uint32 i;
e10828
   for (i = boff->step; i > 0; i--) {