https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88967
--- Comment #3 from Roman Lebedev <lebedev.ri at gmail dot com> --- 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.