[llvm-bugs] [Bug 39932] New: An undefined __label__-declared label is unnecessarily a hard error

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 9 14:28:42 PST 2018


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: unassignedclangbugs at nondot.org
          Reporter: pskocik at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181209/4ade247f/attachment.html>


More information about the llvm-bugs mailing list