[Bug 84] Writes to struct members marked as shared are not volatile
gdc-bugzilla at gdcproject.org
gdc-bugzilla at gdcproject.org
Wed Feb 12 23:58:06 PST 2014
http://bugzilla.gdcproject.org/show_bug.cgi?id=84
Johannes Pfau <johannespfau at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #3 from Johannes Pfau <johannespfau at gmail.com> 2014-02-13 07:58:06 GMT ---
I had this discussion with Kagamin lately and came to the conclusion that GDC
should not treat shared variables as volatile. There are some optimizations
that are legal on shared variables but not on volatile ones, so requiring that
shared implies volatile is a bad idea.
Of course we need some way to use volatile nevertheless. I'll post some ideas
on the newsgroup soon.
--
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