[gomp] Fix a couple of global var handling bugs, add firstprivate+lastprivate barrier (PR c++/26943) (take 2)

Richard Henderson rth@redhat.com
Tue May 2 19:42:00 GMT 2006


On Tue, May 02, 2006 at 09:50:00AM -0400, Jakub Jelinek wrote:
> The reason why maybe_lookup_decl_in_outer_ctx can't do just
> return ctx->is_nested ? lookup_decl_in_outer_ctx (decl, ctx) : decl;
> are SHARED clauses in nested context, where the outer context
> doesn't reference the var at all and defaults there to the SHARED
> data sharing.

I expected that, yes.

Patch ok.


r~



More information about the Gcc-patches mailing list