Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-09 Thread Jonas Maebe
Gennady Agranov wrote: > Hi, > Or what are the conditions when you want to emit the hint? > > I thought that hint could come from some layer that actually allocates > the record - on the stack or on the heap - this layer may actually know > the "effective" alignment > > Heap allocation

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Gennady Agranov
Hi, Or what are the conditions when you want to emit the hint? I thought that hint could come from some layer that actually allocates the record - on the stack or on the heap - this layer may actually know the "effective" alignment Heap allocation should be aligned to the largest required

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Florian Klämpfl
Am 07.11.2016 um 03:42 schrieb Gennady Agranov: > Hi, > > I have submitted a bug - http://bugs.freepascal.org/view.php?id=30872 > (misaligned data exception on > ARMv7) > > And this big was resolved as "won't fix" > > 1. I understand that one has to work really hard to encounter this bug - and

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Mark Morgan Lloyd
On 08/11/16 10:26, Marco van de Voort wrote: In our previous episode, Mark Morgan Lloyd said: The Solaris and C communities appeared to take the line that a correct compiler "could not" generate unaligned accesses, although they held off clarifying whether "could" in that context means "if it

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Marco van de Voort
In our previous episode, Mark Morgan Lloyd said: > The Solaris and C communities appeared to take the line that a correct > compiler "could not" generate unaligned accesses, although they held off > clarifying whether "could" in that context means "if it does it's an > error" or "it must

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-08 Thread Mark Morgan Lloyd
On 08/11/16 06:30, Dennis wrote: Gennady Agranov wrote: Hi, I have submitted a bug - http://bugs.freepascal.org/view.php?id=30872 (misaligned data exception on ARMv7) And this big was resolved as "won't fix" 1. I understand that one has to work really hard to encounter this bug - and there

Re: [fpc-devel] Can FPC at least give a hint/warning?

2016-11-07 Thread Dennis
Gennady Agranov wrote: Hi, I have submitted a bug - http://bugs.freepascal.org/view.php?id=30872 (misaligned data exception on ARMv7) And this big was resolved as "won't fix" 1. I understand that one has to work really hard to encounter this bug - and there are easy workarounds, but it

[fpc-devel] Can FPC at least give a hint/warning?

2016-11-06 Thread Gennady Agranov
Hi, I have submitted a bug - http://bugs.freepascal.org/view.php?id=30872 (misaligned data exception on ARMv7) And this big was resolved as "won't fix" 1. I understand that one has to work really hard to encounter this bug - and there are easy workarounds, but it there are also different