[Bug middle-end/35549] Invalid use of copy-in/out for shared vars in nested parallels
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Mar 12 10:08:00 GMT 2008
------- Comment #2 from jakub at gcc dot gnu dot org 2008-03-12 10:08 -------
Subject: Bug 35549
Author: jakub
Date: Wed Mar 12 10:07:19 2008
New Revision: 133137
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133137
Log:
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.
Added:
branches/gcc-4_3-branch/libgomp/testsuite/libgomp.c/pr35549.c
Modified:
branches/gcc-4_3-branch/gcc/ChangeLog
branches/gcc-4_3-branch/gcc/omp-low.c
branches/gcc-4_3-branch/libgomp/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35549
More information about the Gcc-bugs
mailing list