array of word and alignment
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
When array is setup in
hallo([999,999,999]) size of elements are (or the alignment is) 4 bytes:
movl $999,-12(%ebp)
movl 999,-8(ebp)
movl 999,-4(ebp)
But when accessing the array (in proc Hallo) the size is asumed as 2 bytes.
The example programs, prints
999 0 999
instead of
999 999 999
Additional information:
Reporter: Jeroen van Iddekingej
EMail: iddekingej at lycos dot com
Mantis conversion info:
- Mantis ID: 3599
- OS: Linux
- Version: 1.0.5
- Fixed in version: 1.1.0