Re: [Patch] OpenMP: detach - fix firstprivate handling

2021-05-12 Thread Jakub Jelinek via Gcc-patches
On Tue, May 11, 2021 at 11:54:58PM +0200, Tobias Burnus wrote: > The sfield / firstprivate lookup used the wrong var decl > for the lookup – hence it failed. > I used an extra long diff to make it easier to follow why > 'c' and not 'detach_clause' has the proper clause for the > decl to be used as

[Patch] OpenMP: detach - fix firstprivate handling

2021-05-11 Thread Tobias Burnus
The sfield / firstprivate lookup used the wrong var decl for the lookup – hence it failed. I used an extra long diff to make it easier to follow why 'c' and not 'detach_clause' has the proper clause for the decl to be used as key. Testsuite run ongoing. OK for mainline, when it passes? Tobias -