[PATCH] D73550: Prevent building with MSVC 14.24

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 28 07:01:27 PST 2020


thakis added a comment.

In D73550#1844539 <https://reviews.llvm.org/D73550#1844539>, @hans wrote:

> Seems reasonable to me. Should we comment on the upstream bug that this breaks LLVM? I see there's a reduced repro, but I don't see LLVM mentioned.


Sounds like it's already fixed upstream, so if the motivation is to help prioritize the bug then that's not necessary.

> On second thought, while it's not strictly our problem, what is a user who runs into this supposed to do? AFAIK, Microsoft doesn't provide access to old compiler versions within the same family (2019), so unless you have an old install lying around or want to try the next preview, what to do?

You can get a newer MSVC, or you can use clang-cl as host compiler :)

> Would it be better to selectively disable optimization of the miscompiled function?

I think this change here is better than not changing anything, and I don't want to spend more time on this than I already have.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73550/new/

https://reviews.llvm.org/D73550





More information about the llvm-commits mailing list