Re: [fpc-devel] Internal error with division by QWord (Issue #33004)

2018-01-11 Thread J. Gareth Moreton
On Thu 11/01/18 21:03 , Florian Klämpfl flor...@freepascal.org sent: > Am 11.01.2018 um 21:46 schrieb J. Gareth Moreton: > > > So while testing some proposed optimisations for > how div and mod operations are compiled, I came across an > > internal error in the compiler. > > > > > >

Re: [fpc-devel] Internal error with division by QWord (Issue #33004)

2018-01-11 Thread Sven Barth via fpc-devel
Am 11.01.2018 21:46 schrieb "J. Gareth Moreton" : Possibly related, but the compiler automatically treats numbers larger than or equal to $8000 as signed (Int64) regardless of the context or what it's being assigned to (this usually involves compiler

Re: [fpc-devel] Internal error with division by QWord (Issue #33004)

2018-01-11 Thread Florian Klämpfl
Am 11.01.2018 um 21:46 schrieb J. Gareth Moreton: > So while testing some proposed optimisations for how div and mod operations > are compiled, I came across an > internal error in the compiler. > > https://bugs.freepascal.org/view.php?id=33004 > > I haven't yet delved into the location of

[fpc-devel] Internal error with division by QWord (Issue #33004)

2018-01-11 Thread J. Gareth Moreton
So while testing some proposed optimisations for how div and mod operations are compiled, I came across an internal error in the compiler. https://bugs.freepascal.org/view.php?id=33004 I haven't yet delved into the location of Internal error 200706094, but something worth bringing up because