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

           Summary: failure to warn about uninitialized induction var
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


I'd expect llvm-gcc and clang to warn about use-before-init of i, but this does
not happen, even at "-O -Wall", using r82487.

void foo (void) {
  int i;
  for (; i<10; i++) {
  }
}


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