"-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.
Differential D45289
Disable -fmerge-all-constants as default. manojgupta on Apr 4 2018, 2:24 PM. Authored by
Details "-fmerge-all-constants" is a non-conforming optimization and should not Fixes PR18538.
Diff Detail
Event TimelineComment Actions One minor change, then this looks good to me. Thank you!
Comment Actions Just wanted to explicitly say +1 to this default change (with the adjustment Richard suggested). Also, John already said +1 to this default change on the bug. Comment Actions Thanks a lot for the quick review! Comment Actions It's not unreasonable to just add -fmerge-all-constants to the command line invocations for the individual tests, yeah. We can take those off as necessary later.
|