On Monday, 11 July 2016 at 13:54:49 UTC, ag0aep6g wrote:
If I got that right: Sure. But the compiler can't know if a shared variable is volatile or not, so it has to assume that it is. If the programmer knows that it's not volatile, they can cast shared away and use a normal load.
If you cast shared away, an unshared postblit will be called instead of shared one.
