This is an archive of the discontinued LLVM Phabricator instance.

[analyzer][NFC] Workaround miscompilation on recent MSVC
ClosedPublic

Authored by danix800 on Aug 29 2023, 9:41 PM.

Diff Detail

Event Timeline

danix800 created this revision.Aug 29 2023, 9:41 PM
Herald added a project: Restricted Project. · View Herald Transcript
danix800 requested review of this revision.Aug 29 2023, 9:41 PM
steakhal accepted this revision.Aug 30 2023, 12:32 AM

Feel free to merge it. Thanks!
I'd be curious to see if this bug is tracked at Microsoft.

This revision is now accepted and ready to land.Aug 30 2023, 12:32 AM

Please add the exact versions to the commit message of Visual Studio where it worked, and where it didn't, thus we applied this change so that it would work on all (both) Visual Studio versions.

Feel free to merge it. Thanks!
I'd be curious to see if this bug is tracked at Microsoft.

I searched but no result so I submitted it to MS: https://developercommunity.visualstudio.com/t/Possible-miscompilation-in-release-mode-/10453172