Re: [GIT PULL] x86/build changes for v4.17

From: Nick Desaulniers
Date: Wed Apr 04 2018 - 19:11:15 EST


On Wed, Apr 4, 2018 at 10:13 AM Linus Torvalds <
torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> The fact that clang by default enables "-fmerge-all-constants"
> behavior is just inexcusable. That's not just "let's do invalid
> optimizations based on undefined behavior". That's an actual "let's do
> known invalid optimizations that are explicitly disallowed even by the
> standard".

Manoj already has a patch for this that looks like it's passed code review:
https://reviews.llvm.org/D45289
--
Thanks,
~Nick Desaulniers