[gomp] Fix OpenMP lookup in outer contexts

Diego Novillo dnovillo@google.com
Mon Dec 3 22:58:00 GMT 2007


Jakub Jelinek wrote:

> 	* omp-low.c (lookup_decl_in_outer_ctx): Allow calling this
> 	with !ctx->is_nested.
> 	(maybe_lookup_decl_in_outer_ctx): Look up in outer contexts
> 	even if !ctx->is_nested.
> 	(lower_copyprivate_clauses, lower_send_clauses,
> 	lower_send_shared_vars): Call lookup_decl_in_outer_ctx
> 	unconditionally.
> 
> 	* testsuite/libgomp.c/private-1.c: New test.

OK.


Diego.



More information about the Gcc-patches mailing list