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

Reply via email to