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

            Bug ID: 68056
           Summary: can use keyword as " _Atomic" as  an identifier
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zhijian at ca dot ibm.com
  Target Milestone: ---

in the following source code 

int _Atomic;

int main()
{

    return 1;
}

it compile pass with gcc .

But according to 

 ISO/IEC 9899:2011, 6.4.1, Keywords, _Atomic

 When a keyword is used as an identifier, a diagnostic must
        be issued. 6.4.1;2a

Reply via email to