[Bug c/65455] New: typeof _Atomic fails
jens.gustedt at inria dot fr
gcc-bugzilla@gcc.gnu.org
Tue Mar 17 21:27:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65455
Bug ID: 65455
Summary: typeof _Atomic fails
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: jens.gustedt at inria dot fr
The following declarations
_Atomic int a;
__typeof__(a) a;
result in compile errors:
> typeof_atomic.c:2:15: error: conflicting type qualifiers for 'a'
> __typeof__(a) a;
> ^
> typeof_atomic.c:1:13: note: previous declaration of 'a' was here
> _Atomic int a;
This could be related to bug #65345.
Jens
More information about the Gcc-bugs
mailing list