[LLVMbugs] [Bug 5033] New: failure to warn about uninitialized induction var

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 22 19:36:17 PDT 2009


           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: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu

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.

More information about the llvm-bugs mailing list