gcc/libgomp
Jakub Jelinek 7c8f7639c5 re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested parallels)
PR middle-end/35549
	* omp-low.c (maybe_lookup_decl): Constify first argument.
	(use_pointer_for_field): Change last argument from bool to
	omp_context *.  Disallow shared copy-in/out in nested
	parallel if decl is shared in outer parallel too.
	(build_outer_var_ref, scan_sharing_clauses,
	lower_rec_input_clauses, lower_copyprivate_clauses,
	lower_send_clauses, lower_send_shared_vars): Adjust callers.

	* testsuite/libgomp.c/pr35549.c: New test.

From-SVN: r133136
2008-03-12 10:55:48 +01:00
..
config
testsuite re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested parallels) 2008-03-12 10:55:48 +01:00
acinclude.m4
aclocal.m4 re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
alloc.c
barrier.c
ChangeLog re PR middle-end/35549 (Invalid use of copy-in/out for shared vars in nested parallels) 2008-03-12 10:55:48 +01:00
config.h.in re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
configure re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
configure.ac re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
configure.tgt
critical.c
env.c re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
error.c
fortran.c
iter.c
libgomp_f.h.in
libgomp_g.h
libgomp.h
libgomp.map
libgomp.spec.in
libgomp.texi
loop.c
Makefile.am
Makefile.in re PR libgomp/33131 (libgomp/env.c:60: warning: implicit declaration of function 'strncasecmp') 2008-03-03 22:35:13 +00:00
omp_lib.f90.in
omp_lib.h.in
omp.h.in
ordered.c
parallel.c
sections.c
single.c
team.c
work.c