Re: Build problem with latest git head

2013-11-08 Thread Timo Sintonen
Now returning to my original problem. I tested various loops and it seems that write to a variable is not volatile even if the variable is marked shared. If I write to a variable several times in a loop, all but the last write are optimized out. The only write is put after the loop. Read work

Re: Found one (the?) ARM bug: (Pointer) aliasing issues

2013-11-08 Thread Johannes Pfau
Am Fri, 8 Nov 2013 13:12:23 + schrieb Iain Buclaw : > On 7 November 2013 18:05, Johannes Pfau wrote: > > > Am Thu, 7 Nov 2013 16:14:59 + > > schrieb Iain Buclaw : > > type here. It would allow code like this to work: "char[] a; char* > > b = (cast(char*)&a)" but I don't see why this shou

Re: Found one (the?) ARM bug: (Pointer) aliasing issues

2013-11-08 Thread Iain Buclaw
On 8 November 2013 13:12, Iain Buclaw wrote: > For people trying to work around the cast system for dynamic arrays, IMO > they should be punished for it, and told to do it in the correct way that > invokes _d_arraycopy, or do their unsafe work through unions. > > s/_d_arraycopy/_d_arraycast/ -

Re: Found one (the?) ARM bug: (Pointer) aliasing issues

2013-11-08 Thread Iain Buclaw
On 7 November 2013 18:05, Johannes Pfau wrote: > Am Thu, 7 Nov 2013 16:14:59 + > schrieb Iain Buclaw : > > > On 3 November 2013 10:20, Johannes Pfau wrote: > > > > > Am Sun, 3 Nov 2013 02:10:20 + > > > schrieb Iain Buclaw : > > > > > > > last time I > > > > checked, returning 0 disables