[clang] [Clang] [Driver] Ensure `-fms-volatile` is set for x86 for `*-windows-msvc` triple on non cl driver modes (PR #107509)
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 6 05:44:00 PDT 2024
nico wrote:
I don't have a very strong opinion. I find it surprising in that the clang driver is supposed to be gcc-compatible, and having to use `clang -fstrict-aliasing` (but only when targeting Windows) to get the default behavior looks a bit surprising.
(I agree it's a better default, but imho it's a better default on non-Windows too, and nobody found that convincing apparently ;))
https://github.com/llvm/llvm-project/pull/107509
More information about the cfe-commits
mailing list