[LLVMbugs] [Bug 11330] New: llvm-gcc optimizer generates movaps instruction on non-aligned memory

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 7 20:02:48 PST 2011


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

             Bug #: 11330
           Summary: llvm-gcc optimizer generates movaps instruction on
                    non-aligned memory
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: shartwell at vmware.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 7589
  --> http://llvm.org/bugs/attachment.cgi?id=7589
minimal source to repro + xcodeproj

Under certain conditions, llvm-gcc -O2 will generate a movaps instruction on an
unaligned memory address. These are always a result of optimizing
__builtin___memcpy_chk() emitted from memcpy() calls.

An Xcode project with minimal source to reproduce is attached.

clang 3.0 does not have this bug.  I'm posting this bug so that you can (1)
admire your progress and/or (2) see if this affects dragonegg.

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