http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-29 17:48:45 UTC --- Author: jakub Date: Fri Jul 29 17:48:42 2011 New Revision: 176946 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176946 Log: PR middle-end/49897 PR middle-end/49898 * omp-low.c (use_pointer_for_field): If disallowing copy-in/out in nested parallel and outer is a gimple_reg, mark it as addressable and set its bit in task_shared_vars bitmap too. * testsuite/libgomp.c/pr49897-1.c: New test. * testsuite/libgomp.c/pr49897-2.c: New test. * testsuite/libgomp.c/pr49898-1.c: New test. * testsuite/libgomp.c/pr49898-2.c: New test. Added: branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr49897-1.c branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr49897-2.c branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr49898-1.c branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr49898-2.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/omp-low.c branches/gcc-4_6-branch/libgomp/ChangeLog