HomePhabricator

Disable -fmerge-all-constants as default.

Description

Disable -fmerge-all-constants as default.

Summary:
"-fmerge-all-constants" is a non-conforming optimization and should not
be the default. It is also causing miscompiles when building Linux
Kernel (https://lkml.org/lkml/2018/3/20/872).

Fixes PR18538.

Reviewers: rjmccall, rsmith, chandlerc

Reviewed By: rsmith, chandlerc

Subscribers: srhines, cfe-commits

Differential Revision: https://reviews.llvm.org/D45289

Details

Committed
manojguptaApr 5 2018, 8:29 AM
Reviewer
rsmith
Differential Revision
D45289: Disable -fmerge-all-constants as default.
Branches
Unknown
Tags
Unknown