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 24184 - [REG 2.103] Segmentation fault accessing variable w… #15820

Merged
merged 1 commit into from Nov 16, 2023

Conversation

WalterBright
Copy link
Member

…ith align(N) > platform stack alignment

Forgot to add an offset when the context pointer wasn't RPB.

@dlang-bot
Copy link
Contributor

dlang-bot commented Nov 16, 2023

Thanks for your pull request, @WalterBright!

Bugzilla references

Auto-close Bugzilla Severity Description
24184 regression [REG 2.103] Segmentation fault accessing variable with align(N) > platform stack alignment

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 "stable + dmd#15820"

compiler/src/dmd/e2ir.d Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Nov 16, 2023

Recent regression, that should go on stable.

@WalterBright
Copy link
Member Author

It's not really a regression, it never worked.

@ibuclaw
Copy link
Member

ibuclaw commented Nov 16, 2023

Runtime corruption fixes still better in stable than waiting for the next release.

Copy link
Contributor

@RazvanN7 RazvanN7 left a comment

Choose a reason for hiding this comment

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

I rebased this on top of stable. All good to go.

@RazvanN7 RazvanN7 merged commit 891cf59 into dlang:stable Nov 16, 2023
43 checks passed
@WalterBright
Copy link
Member Author

Thanks @RazvanN7

@ibuclaw ibuclaw mentioned this pull request Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants