[Bug libgomp/65467] [libgomp] sorry, unimplemented: '_Atomic' with OpenMP

joseph at codesourcery dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 20 00:00:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467

--- Comment #2 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The issue is that someone needs to go through all the parsing for OpenMP 
constructs, and figure out exactly where to add calls to 
convert_lvalue_to_rvalue (if an OpenMP construct reads the value of an 
object, reading the value of an _Atomic object must be an atomic load) and 
what other special handling might be needed (if an OpenMP construct writes 
to an object, it must be an atomic store; if it both reads and writes, 
some form of compare-and-exchange may be needed).



More information about the Gcc-bugs mailing list