[fpc-devel] Bug (Severe): Floating point values completely break GCC Struct compatability with records in 64-bit

2009-12-16 Thread Joshua Cearley
While working on a binding for the development branch for the Allegro game library I ran in to a bit of a problem in that one of the methods takes a structure of four floating point values (which is how it stores colors) and this is not done through a pointer to a color struct but by passing

Re: [fpc-devel] Bug (Severe): Floating point values completely break GCC Struct compatability with records in 64-bit

2009-12-16 Thread Vincent Snijders
Jonas Maebe schreef: On 16 Dec 2009, at 12:26, Joshua Cearley wrote: It seems that passing records with paired float fields is buggy on FPC/x86_64. Please file a bug report. While it is described in http://www.x86-64.org/documentation/abi.pdf, 3.2.3 Parameter Passing, I found