-
-
Notifications
You must be signed in to change notification settings - Fork 267
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
Struct alignment is not correct #430
Comments
I can reproduce it. Thanks for the report. |
From a first look at the IR, the
but in this case it should be
because |
Exactly. Thank you for looking into this. |
The bug should be fixed with my latest commit. I also added a new test case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using ldc-0.11 on Linux-64bit little endian system, the following code:
Using dmd2.063.2, the same code prints correctly Foo(257, 16777217) and 6
The text was updated successfully, but these errors were encountered: