Bug ID | 126 |
---|---|
Summary | Add support for attribute to mark data as volatile. |
Product | GDC |
Version | development |
Hardware | All |
OS | All |
Status | NEW |
Severity | normal |
Priority | Normal |
Component | gdc |
Assignee | ibuclaw@gdcproject.org |
Reporter | ibuclaw@gdcproject.org |
Currently shared maps to volatile in GDC's implementation. This has been registered as a bug and will be fixed sometime in the future. However, certain targets (eg: ARM Bare Metal) relies on D having 'volatile' as a keyword, or the ability to mark data as volatile. As we aren't going to re-add volatile into D, what we can do is add a new GDC attribute which maps to volatile. Eg: @volatile.