Skip to content

llvm-gcc optimizer generates movaps instruction on non-aligned memory #11702

@llvmbot

Description

@llvmbot
Bugzilla Link 11330
Resolution FIXED
Resolved on Nov 08, 2011 10:41
Version trunk
OS MacOS X
Attachments minimal source to repro + xcodeproj
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic

Extended Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tag

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions