[llvm-bugs] [Bug 29075] New: -Wsometimes-uninitialized false-positive with switch() default:

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 20 14:28:09 PDT 2016


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

            Bug ID: 29075
           Summary: -Wsometimes-uninitialized false-positive with switch()
                    default:
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17017
  --> https://llvm.org/bugs/attachment.cgi?id=17017&action=edit
Reduced testcase

Reduced from babl:

int x0;
void x1() {
  int x2;
  switch (x0) {
  case 0:
    x2 = 0;
  default:;
  }
  x2 /= 1;
}

-- 
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/20160820/a2ec499e/attachment-0001.html>


More information about the llvm-bugs mailing list