https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88967
--- Comment #4 from Roman Lebedev <lebedev.ri at gmail dot com> --- (In reply to Roman Lebedev from comment #3) > While there, any advice on how that is supposed to be rewritten? > Simply adding "shared(begin, len)" makes older gcc's unhappy > https://godbolt.org/z/gyZBR- > Only keeping "shared(begin, len)" (and dropping "default(none)") does not > work either. Right, "firstprivate(begin, len)" works while being backward compatible, sorry for panicking too early. https://godbolt.org/z/tEYKIq