[Bug middle-end/49897] [4.5/4.6/4.7 Regression] nesting lastprivate gives incorrect result
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 29 17:47:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49897
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-29 17:45:46 UTC ---
Author: jakub
Date: Fri Jul 29 17:45:42 2011
New Revision: 176945
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176945
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:
trunk/libgomp/testsuite/libgomp.c/pr49897-1.c
trunk/libgomp/testsuite/libgomp.c/pr49897-2.c
trunk/libgomp/testsuite/libgomp.c/pr49898-1.c
trunk/libgomp/testsuite/libgomp.c/pr49898-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/omp-low.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list