[all-commits] [llvm/llvm-project] f1c4df: builtins: Speculative MSVC fix.

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Wed Jul 9 18:33:49 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f1c4df5b7bb79efb3e9be7fa5f8176506499d0a6
      https://github.com/llvm/llvm-project/commit/f1c4df5b7bb79efb3e9be7fa5f8176506499d0a6
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2025-07-09 (Wed, 09 Jul 2025)

  Changed paths:
    M compiler-rt/lib/builtins/int_types.h

  Log Message:
  -----------
  builtins: Speculative MSVC fix.

Attempt to fix these build failures:
https://lab.llvm.org/buildbot/#/builders/107/builds/12601

The suspected cause is that #133530 caused us to start
passing -std:c11 to MSVC, which activated this code path
that uses _Complex, which MSVC does not support. See:
https://learn.microsoft.com/en-us/cpp/c-runtime-library/complex-math-support

Fix it by also checking _MSC_VER.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list