This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgomp/69555] libgomp.c++/target-6.C fails because of undefined behaviour


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]