[LLVMbugs] [Bug 6240] New: clang++ miscompiles MemCpyOptimizer.o in Release mode

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Feb 5 00:34:44 PST 2010


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

           Summary: clang++ miscompiles MemCpyOptimizer.o in Release mode
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: clattner at apple.com, llvmbugs at cs.uiuc.edu,
                    dgregor at apple.com


When clang++ is used to build a Release clang++, MemCpyOptimizer appears to be
miscompiled (based on test failures). If MemCpyOptimizer is compiled at O0 with
clang++, then test/Transforms/MemCpyOpt/align.ll passes.

This is most likely an IRgen error where we are relying somehow on undefined
behavior.


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