Skip to content

Backport UB workaround for GCC LTO buildsΒ #62699

@thesamesam

Description

@thesamesam

See #57740 and #24952.

Without this, LLVM is miscompiled (because of UB in User.cpp) when built with GCC LTO. Given that -fno-lifetime-dse is a GCC only flag and we know it was miscompiled otherwise with GCC LTO, I think we can safely backport it.

Needs 626849c and 47f5c54.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions