Re: long problems

2010-12-22 Thread Jonathan M Davis
On Wednesday 22 December 2010 21:57:06 Ellery Newcomer wrote: > On 12/22/2010 11:10 PM, Jonathan M Davis wrote: > > That said, it's definitely a bug if that assertion fails - an _enormous_ > > bug really. Regardless, it works just fine on my machine. > > try this on your machine: > > http://d.pur

Re: long problems

2010-12-22 Thread Ellery Newcomer
On 12/22/2010 11:10 PM, Jonathan M Davis wrote: That said, it's definitely a bug if that assertion fails - an _enormous_ bug really. Regardless, it works just fine on my machine. try this on your machine: http://d.puremagic.com/issues/show_bug.cgi?id=5364 - Jonathan M Davis

Re: long problems

2010-12-22 Thread Jonathan M Davis
On Wednesday 22 December 2010 21:04:37 Ellery Newcomer wrote: > quick question - will the following code do as I expect? > > long x; > > x = -1; > > assert(x == -1); > > cuz I've hit a spot where the optimizer isn't loading the high dword into x That would depend on what you expect. If you exp

Re: long problems

2010-12-22 Thread Ellery Newcomer
On 12/22/2010 11:04 PM, Ellery Newcomer wrote: quick question - will the following code do as I expect? long x; x = -1; assert(x == -1); cuz I've hit a spot where the optimizer isn't loading the high dword into x nevermind, it's failing with x = cast(long) -1 and x = -1L also