Skip to content

<optional>: Extend compiler bug workaround to MSVC - #5407

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:rdparser-workaround
Apr 22, 2025
Merged

<optional>: Extend compiler bug workaround to MSVC#5407
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
StephanTLavavej:rdparser-workaround

Conversation

@StephanTLavavej

Copy link
Copy Markdown
Member

#5369 revealed VSO-2444237 "[RWC][prod/fe][std:c++latest][Regression] LLVM failed with Assertion failed: ParseTree::Utility::SigStack::sigStack.size() == 1".

Xiang Fan (@xiangfan-ms) tracked this down to the introduction of _Derived_from_optional and reduced it to a library-free repro. The compiler is having trouble with the lambda's templated function call operator.

To unblock our Real World Code test suite, we should extend the workaround we're currently using for EDG to also cover MSVC.

@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Final Review to Ready To Merge in STL Code Reviews Apr 17, 2025
@StephanTLavavej Stephan T. Lavavej (StephanTLavavej) moved this from Ready To Merge to Merging in STL Code Reviews Apr 22, 2025
@StephanTLavavej

Copy link
Copy Markdown
Member Author

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Something can be improved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants