Skip to content

<type_traits>: Workaround for DevCom-10543093 (ICE with some uses of pointers to data members) - #4277

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
frederick-vs-ja:workaround-invoke-pmd
Jan 11, 2024
Merged

<type_traits>: Workaround for DevCom-10543093 (ICE with some uses of pointers to data members)#4277
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:mainfrom
frederick-vs-ja:workaround-invoke-pmd

Conversation

@frederick-vs-ja

Copy link
Copy Markdown
Contributor

The bug was not previously analyzed. I reduced the test case and reported DevCom-10543093.

Unblocks one libcxx test:

  • std/utilities/function.objects/func.invoke/invoke_constexpr.pass.cpp

@CaseyCarter

Copy link
Copy Markdown
Contributor

The compiler bug should be fixed in 17.10p1, so this workaround ideally won't be around long.

@StephanTLavavej

Copy link
Copy Markdown
Member

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

@StephanTLavavej
Stephan T. Lavavej (StephanTLavavej) merged commit 7a3a4a5 into microsoft:main Jan 11, 2024
@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for investigating and fixing this libcxx failure, and reporting the compiler bug too! This is awesome! 🐞 😻 🎉

@frederick-vs-ja
A. Jiang (frederick-vs-ja) deleted the workaround-invoke-pmd branch January 11, 2024 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants