[LLVMbugs] [Bug 18960] New: Unreachable code non detected with -Wall or Analysis

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Feb 25 01:30:53 PST 2014


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

            Bug ID: 18960
           Summary: Unreachable code non detected with -Wall or Analysis
           Product: clang
           Version: 3.3
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: StephaneLeon at Bluewin.ch
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

from the recent apple bug on ssl (
http://opensource.apple.com/source/Security/Security-55471/libsecurity_ssl/lib/sslKeyExchange.c
) goto fail twice.

the unreachable code is not detected.

neither by -Wall or the Analyzer

it is with -Wunreachable-code

thank you to include -Wunreachable-code in -Wall to fix this problem.

-- 
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/20140225/c49bca95/attachment.html>


More information about the llvm-bugs mailing list