Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge stable #12088

Merged
merged 6 commits into from Jan 1, 2021
Merged

merge stable #12088

merged 6 commits into from Jan 1, 2021

Conversation

MartinNowak
Copy link
Member

  • Fix duplicate function detection for extern(C) member funtions
  • fix Issue 21514 - [ICE] cod1.d:4015: Assertion `retregs || !*pretregs' failed with -m32
  • fix Issue 20652 - extern(C++) doesn't seem to mangle the types in core.simd right
  • bump VERSION to v2.095.0
  • purge changelog

MoonlightSentinel and others added 6 commits December 28, 2020 19:14
`extern(C)` member functions are mangled as `extern(D)` (while still
following `C` ABI) because it's deemed more useful for callbacks, etc.

The previous implementation didn't consider this special case and
always issued a deprecation message even though there would be no
error once the deprecation ends (because the mangling is actually
different).

This commit ensures that the deprecation is only issued for non-member
functions.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @MartinNowak!

Bugzilla references

Auto-close Bugzilla Severity Description
20652 normal extern(C++) doesn't seem to mangle the types in core.simd right
21514 major [ICE] cod1.d:4015: Assertion ``retregs || !*pretregs' failed with -m32

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#12088"

@dlang-bot dlang-bot merged commit 78a2b35 into dlang:master Jan 1, 2021
@MartinNowak MartinNowak deleted the merge_stable branch February 12, 2021 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants