[Bug libgomp/65467] New: [libgomp] sorry, unimplemented: '_Atomic' with OpenMP
sebastian.huber@embedded-brains.de
gcc-bugzilla@gcc.gnu.org
Thu Mar 19 09:01:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467
Bug ID: 65467
Summary: [libgomp] sorry, unimplemented: '_Atomic' with OpenMP
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: sebastian.huber@embedded-brains.de
CC: jakub at gcc dot gnu.org
It seems that <stdatomic.h> is not available with -fopenmp:
stdatomic.h:40:1: sorry, unimplemented: '_Atomic' with OpenMP
typedef _Atomic _Bool atomic_bool;
Is this a principal problem with the OpenMP standard or libgomp?
The __atomic built-ins seem to work, e.g.
int f(int *a, int b)
{
return __atomic_fetch_add(a, b, 0);
}
More information about the Gcc-bugs
mailing list