[LLVMbugs] [Bug 19946] New: -Wshift-count-overflow not pruned for dead loop

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jun 4 14:21:59 PDT 2014


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

            Bug ID: 19946
           Summary: -Wshift-count-overflow not pruned for dead loop
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: joerg at NetBSD.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12606
  --> http://llvm.org/bugs/attachment.cgi?id=12606&action=edit
Test case

Try to build the attached test case. The loop is dead, so no warning should be
raised. Code found in libc++, so it happens in the wild.

-- 
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/20140604/5c312622/attachment.html>


More information about the llvm-bugs mailing list