[LLVMbugs] [Bug 2758] New: Objc for ... in loop wrong code generation

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 3 14:06:17 PDT 2008


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

           Summary: Objc for ... in loop wrong code generation
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: thomascl at free.fr
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1986)
 --> (http://llvm.org/bugs/attachment.cgi?id=1986)
patch

There is a small error in the fast enumeration code generation which produces
an infinite loop in generated code.
The counter is set to 0 at each iteration.

Attached is the suggested patch.

Thomas


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