Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix Issue 19524 - Make core.checkedint work in betterC #2426

Merged
merged 1 commit into from Dec 30, 2018

Conversation

n8sh
Copy link
Member

@n8sh n8sh commented Dec 30, 2018

Do this by making everything in checkedint a zero-argument template function. The risk is that this changes the function mangling and may cause mulu etc. to cease being intrinsic functions if a compiler had been handling them specially, although DMD does not appear to have been doing this.

Do this by making everything in checkedint a zero-argument template
function. The risk is that this changes the function mangling and may
cause `mulu` etc. to cease being intrinsic functions if a compiler had
been handling them specially, although DMD does not appear to have been
doing this.
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @n8sh!

Bugzilla references

Auto-close Bugzilla Severity Description
19524 enhancement Make core.checkedint work in betterC

Testing this PR locally

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

dub fetch digger
dub run digger -- build "master + druntime#2426"

Copy link
Member

@wilzbach wilzbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dlang-bot dlang-bot merged commit 25a55b9 into dlang:master Dec 30, 2018
@ibuclaw
Copy link
Member

ibuclaw commented Dec 31, 2018

cease being intrinsic functions if a compiler had been handling them specially, although DMD does not appear to have been doing this.

And you didn't bother checking other compilers? Are they not important enough to give due notice?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Enhancement New functionality
Projects
None yet
4 participants