Skip to content

Latest Visual C++ 2022 version in Windows images has a SIMD optimization bug that makes it unreliable #12470

Open
@lballabio

Description

@lballabio

Description

See https://developercommunity.visualstudio.com/t/Code-optimization-bug-SIMD-std::transf/10912292. A fix is pending release, but in the meantime it would help to downgrade to a working version.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

The problem started in windows-2022 version: 20250617.1.0, e.g. https://github.com/lballabio/QuantLib/actions/runs/15800989037/job/44539149267.

Is it regression?

The build worked in windows-2022 version 20250609.2.0, e.g. https://github.com/lballabio/QuantLib/actions/runs/15657466165

Expected behavior

The test suite should run without reporting any errors.

Actual behavior

The generated code is incorrect leading to test suite failures.

Repro steps

A simple C++ file and compilation command line is available at https://developercommunity.visualstudio.com/t/Code-optimization-bug-SIMD-std::transf/10912292.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions