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

             Bug #: 13910
           Summary: Clang warns that __builtin_unreachable() is
                    unreachable
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


Created attachment 9253
  --> http://llvm.org/bugs/attachment.cgi?id=9253
Reproducer program

Not exactly a bug, but it's a tad bit redundant.

$ clang -fsyntax-only foo.c -Weverything
foo.c:9:5: warning: will never be executed [-Wunreachable-code]
    __builtin_unreachable();
    ^~~~~~~~~~~~~~~~~~~~~
1 warning generated.

At r164402.

-- 
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