https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117247

Benjamin Schulz <schulz.benjamin at googlemail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schulz.benjamin@googlemail.
                   |                            |com

--- Comment #2 from Benjamin Schulz <schulz.benjamin at googlemail dot com> ---
Hi tobias,

target teams loop private is something like a combined clause.
The compiler would, as far as i understand, translate this to something like

target 
{
teams private(a)
{
loop private(a)
{

in this separate bug, Jacub says that omp for does create a bind but omp loop
and others dont since this was removed by a problematic patch..

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123597#c7

may that be the reason why your test case works with omp for but not with omp
loop?

can you look whether this bug is resolved with gcc 13, i.e. before Sandra
Loosemore's patch that creates the scope hoisting problem in:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123597#c7

Reply via email to