Bernd Mueller schrieb:
Florian Klaempfl wrote:

They also asked me to send them some code which illustrates the
problem, which they claim should not exist because the compiler should
make sure everything is aligned.

FPC does too as long as you don't force the compiler to use a certain memory layout like using the packed keyword or casting unaligned pointers like plongint(100003)^:=1234;

what do you think about http://bugs.freepascal.org/view.php?id=12137 ?
IMO the unaligned directive should not be required in this case to "fix" the bug.

Indeed, but did anybody investigate why this goes wrong?
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to