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

fix Issue 2617 - asm silently accepts ambiguous-sized operations #11603

Merged
merged 1 commit into from Aug 24, 2020

Conversation

WalterBright
Copy link
Member

Checks to see if ptr byte/short/int/long is needed to disambiguate.

@WalterBright WalterBright added the WIP Work In Progress - not ready for review or pulling label Aug 21, 2020
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
2617 major asm silently accepts ambiguous-sized operations

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#11603"

@WalterBright
Copy link
Member Author

Uh-oh! Looks like this change already uncovered a lurking bug. It should be int ptr.

std/internal/math/biguintx86.d(1172): Error: operand size for opcode `dec` is ambiguous, add `ptr byte/short/int/long` prefix

@WalterBright
Copy link
Member Author

@ghost
Copy link

ghost commented Aug 22, 2020

still blocked ?

@WalterBright
Copy link
Member Author

Looks like the infamous linker problem is the only thing stopping this one, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants