Re: [fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Florian Klaempfl
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

Re: [fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Bernd Mueller
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 pa

Re: [fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Florian Klaempfl
Florian Klaempfl schrieb: 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

Re: [fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Florian Klaempfl
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 u

[fpc-pascal] Bus error in ARM architecture

2008-09-18 Thread Felipe Monteiro de Carvalho
Hello, There was a presentation about ARM in my university and I asked them about the errors when accessing unaligned memory. The good news is that they said that the latest generation of ARM processors supports unaligned memory access. They also asked me to send them some code which illustrates