This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/26943] [gomp] firstprivate not working properly with non-POD
- From: "dnovillo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2006 16:11:12 -0000
- Subject: [Bug c++/26943] [gomp] firstprivate not working properly with non-POD
- References: <bug-26943-119@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from dnovillo at redhat dot com 2006-05-01 16:11 -------
Subject: Re: [gomp] firstprivate not working properly with
non-POD
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
jakub at gcc dot gnu dot org wrote:
> ------- Comment #5 from jakub at gcc dot gnu dot org 2006-05-01 16:07 -------
> We do need a barrier (well, in some cases with extra code we can avoid
> it in some cases), in order to honor 2.8.3.4:
> "If a list item appears in both firstprivate and lastprivate clauses, the
> update
> required for lastprivate occurs after all the initializations for
> firstprivate."
>
Ah, yes, of course. Sorry about that.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEVjMVUTa2oAUaiwQRAkViAJ4s5n62EohuFxCUWVQGZ1owtoSTcACfZR7i
NgLf43AMmOQ0xLmnl89ZkYQ=
=cjzg
-----END PGP SIGNATURE-----
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26943