[Bug 84] Writes to struct members marked as shared are not volatile

gdc-bugzilla at gdcproject.org gdc-bugzilla at gdcproject.org
Sun Nov 10 03:23:45 PST 2013


http://bugzilla.gdcproject.org/show_bug.cgi?id=84

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> 2013-11-10 11:23:45 GMT ---
(In reply to comment #1)
> In the generated ASM it looks like at least part of the problem is that the
> struct is loaded into a register. Of course, then volatile has no effect.
> 

Yep, marking the decl as addressable should make the problem go away.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the D.gnu mailing list