This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgomp/69555] libgomp.c++/target-6.C fails because of undefined behaviour
- From: "vogt at linux dot vnet.ibm.com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Jan 2016 15:14:31 +0000
- Subject: [Bug libgomp/69555] libgomp.c++/target-6.C fails because of undefined behaviour
- Auto-submitted: auto-generated
- References: <bug-69555-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69555
--- Comment #5 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
Hm, actually the chapter about "private" says nothing about how to actually
*handle* a reference type whereas it states that for "firstprivate" and
"lastprivate" the reference must bind to the same object for all threads. To
me it still looks as if using references in "private" is undefined.