https://bugs.llvm.org/show_bug.cgi?id=39932

            Bug ID: 39932
           Summary: An undefined __label__-declared label is unnecessarily
                    a hard error
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangb...@nondot.org
          Reporter: psko...@gmail.com
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

int main()
{
    __label__ unused_label;
    return 0;
}

Fails on clang but succeeds on gcc and tinycc.
I think this ought to be a silenacable warning instead of an error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to