[Issue 8583] [64 bit] AA ushort[dchar] byValue range is corrupted on x86_64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 21 10:28:13 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8583



--- Comment #5 from github-bugzilla at puremagic.com 2013-01-21 10:28:09 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/e9445dcbbfd7dec9275e78fba6633b689ca06c09
Unify AA value alignment to size_t.sizeof (fixes bug 8583)

Sets the alignment of values in both AA declarations (object and aaA)
to size_t.sizeof bytes, which fixes byValue range iteration on x64.

https://github.com/D-Programming-Language/druntime/commit/9eb3f28e299cb0ce0b2fb22798f4086f008a8a87
Add unit tests for bug 8583; restore 16-byte aligment on x64

This adds unit tests for the alignment fix to Slot, ensuring the two
declarations of an AA slot stay in sync. The 16-byte alignment rule for
x64 has been restored.

https://github.com/D-Programming-Language/druntime/commit/105e12f5b933797a4cae84295a3ebe445e8ae909
Merge pull request #386 from pearfalse/master

Explicitly set AA value alignment in slot to size_t.sizeof bytes (fixes bug
8583)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list