http://llvm.org/bugs/show_bug.cgi?id=3737

           Summary: clang rejects "__label__"
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


gcc happily eats the following:

void foo(void) {
  __label__ bad;
  int x;
}

clang not so much:

$ clang t.c
t.c:6:3: error: expected expression
  __label__ bad;
  ^
1 diagnostic generated.

Not only does clang reject this, but the error message is suboptimal.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to